diff --git a/Dalamud/Game/Text/SeStringHandling/SeString.cs b/Dalamud/Game/Text/SeStringHandling/SeString.cs index 8538d554e..4b0d2a98d 100644 --- a/Dalamud/Game/Text/SeStringHandling/SeString.cs +++ b/Dalamud/Game/Text/SeStringHandling/SeString.cs @@ -232,6 +232,7 @@ namespace Dalamud.Game.Text.SeStringHandling /// /// Creates an SeString representing an entire Payload chain that can be used to link a map position in the chat log, matching a specified zone name. + /// Returns null if no corresponding PlaceName was found. /// /// The name of the location for this link. This should be exactly the name as seen in a displayed map link in-game for the same zone. /// The human-readable x-coordinate for this link. @@ -266,7 +267,7 @@ namespace Dalamud.Game.Text.SeStringHandling /// /// A serialized SeString produced by ToJson() . /// A SeString initialized with values from the json. - public static SeString FromJson(string json) + public static SeString? FromJson(string json) { var s = JsonConvert.DeserializeObject(json, new JsonSerializerSettings {