diff --git a/Quest Map/Plugin.cs b/Quest Map/Plugin.cs index 8dfbbef..7f6de49 100644 --- a/Quest Map/Plugin.cs +++ b/Quest Map/Plugin.cs @@ -3,7 +3,6 @@ using Dalamud.Data; using Dalamud.Game.ClientState; using Dalamud.Game.Command; using Dalamud.Game.Gui; -using Dalamud.Game.Text.SeStringHandling; using Dalamud.IoC; using Dalamud.Plugin; using XivCommon; @@ -28,9 +27,6 @@ namespace QuestMap { [PluginService] internal GameGui GameGui { get; init; } = null!; - [PluginService] - internal SeStringManager SeStringManager { get; init; } = null!; - internal XivCommonBase Common { get; } internal Configuration Config { get; } internal Quests Quests { get; } diff --git a/Quest Map/PluginUi.cs b/Quest Map/PluginUi.cs index a3da52a..7151a7a 100644 --- a/Quest Map/PluginUi.cs +++ b/Quest Map/PluginUi.cs @@ -895,7 +895,7 @@ namespace QuestMap { private static readonly byte[] NewLinePayload = { 0x02, 0x10, 0x01, 0x03 }; private SeString Convert(Lumina.Text.SeString lumina) { - var se = this.Plugin.SeStringManager.Parse(lumina.RawData.ToArray()); + var se = (SeString) lumina; for (var i = 0; i < se.Payloads.Count; i++) { switch (se.Payloads[i].Type) { case PayloadType.Unknown: