diff --git a/MinecraftClient/Protocol/Message/ChatParser.cs b/MinecraftClient/Protocol/Message/ChatParser.cs index bc12da5b..e0954ee2 100644 --- a/MinecraftClient/Protocol/Message/ChatParser.cs +++ b/MinecraftClient/Protocol/Message/ChatParser.cs @@ -501,7 +501,9 @@ namespace MinecraftClient.Protocol.Message if (obj.ContainsKey("text")) { - return formatting + JSONData2String(obj["text"], formatting, links) + extra_result; + // Pass "" to the leaf text node: formatting is already prepended here, + // and the default: case would add it a second time if we passed formatting. + return formatting + JSONData2String(obj["text"], "", links) + extra_result; } else if (obj.ContainsKey("translate")) { diff --git a/tools/mc-rcon.sh b/tools/mc-rcon.sh old mode 100644 new mode 100755