Do not render emotes if they get deactivated at runtime

This commit is contained in:
Infi
2024-05-12 13:40:37 +02:00
parent 8c88b0acf7
commit 638d462732
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ internal class Message
AddContentAfterURLCheck(builder.ToString(), text, chunk);
builder.Clear();
AddChunkWithMessage(new TextChunk(chunk.Source, EmotePayload.ResolveEmote(word), word));
AddChunkWithMessage(new TextChunk(chunk.Source, EmotePayload.ResolveEmote(word), word) { FallbackColour = text.FallbackColour });
builder.Append(' ');
continue;
}