Changes before error encountered

Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MCCTeam/Minecraft-Console-Client/sessions/e56a9086-4921-4504-ab06-ebb912cf52ce
This commit is contained in:
copilot-swe-agent[bot] 2026-03-24 21:11:43 +00:00
parent 3fb7625b39
commit 6c70685d52
2 changed files with 3 additions and 1 deletions

View file

@ -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"))
{

0
tools/mc-rcon.sh Normal file → Executable file
View file