mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Update ConsoleInteractive
This commit is contained in:
parent
0bd7ee0f8e
commit
a7e69fd9fd
3 changed files with 20 additions and 5 deletions
|
|
@ -47,8 +47,10 @@ namespace MinecraftClient.Protocol
|
|||
/// <returns>Returns the translated text</returns>
|
||||
public static string ParseSignedChat(ChatMessage message, List<string>? links = null)
|
||||
{
|
||||
string chatContent = Config.Signature.ShowModifiedChat && message.unsignedContent != null ? message.unsignedContent : message.content;
|
||||
string content = message.isJson ? ParseText(chatContent, links) : chatContent;
|
||||
string chatContent = (Config.Signature.ShowModifiedChat && message.unsignedContent != null) ? message.unsignedContent : message.content;
|
||||
string content = ParseText(chatContent, links);
|
||||
if (string.IsNullOrEmpty(content))
|
||||
content = chatContent;
|
||||
string sender = message.displayName!;
|
||||
|
||||
string text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue