From 0527a3ef80a0090bb9a93af836214da52c3131ae Mon Sep 17 00:00:00 2001 From: Anna Clemens Date: Fri, 4 Jun 2021 17:03:32 -0400 Subject: [PATCH] refactor(bubbles): use util function --- XivCommon/Functions/ChatBubbles.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/XivCommon/Functions/ChatBubbles.cs b/XivCommon/Functions/ChatBubbles.cs index 78c7956..5492142 100755 --- a/XivCommon/Functions/ChatBubbles.cs +++ b/XivCommon/Functions/ChatBubbles.cs @@ -95,8 +95,7 @@ namespace XivCommon.Functions { var actorStruct = Marshal.PtrToStructure(actorPtr); var actor = new Actor(actorPtr, actorStruct, this.Dalamud); - var rawText = Util.ReadTerminated(textPtr); - var text = this.SeStringManager.Parse(rawText); + var text = Util.ReadSeString(textPtr, this.SeStringManager); try { this.OnChatBubble?.Invoke(ref actor, ref text);