From 759aca4ce0f6235ad788b23a0a2983bf835b3714 Mon Sep 17 00:00:00 2001 From: Infi Date: Mon, 20 May 2024 20:18:56 +0200 Subject: [PATCH] Reword comments --- ChatTwo/Message.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChatTwo/Message.cs b/ChatTwo/Message.cs index 7fcd775..155e116 100755 --- a/ChatTwo/Message.cs +++ b/ChatTwo/Message.cs @@ -217,11 +217,11 @@ internal partial class Message if (checkForEmotes && EmoteCache.Exists(word) && !Plugin.Config.BlockedEmotes.Contains(word)) { - // Add the previous punctuation, including whitespaces + // Add the previous sentence before the emote AddContentAfterURLCheck(sentenceBuilder.ToString(), text, chunk); AddChunkWithMessage(new TextChunk(chunk.Source, EmotePayload.ResolveEmote(word), word) { FallbackColour = text.FallbackColour }); - // Append our current match as it is a special split symbol + // Append the current punctuation symbol sentenceBuilder.Clear(); sentenceBuilder.Append(token.Value); continue;