mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
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:
parent
3fb7625b39
commit
6c70685d52
2 changed files with 3 additions and 1 deletions
|
|
@ -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"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue