This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
[BUG] AdvancedChatBox: Game crashes when entering JSON text into a command #14
Labels
bug
Something isn't working
Describe the bug
When I type in some JSON text in a command that accepts it (such as /tellraw or /title), the game will crash as soon as it becomes valid. It doesn't crash while the JSON is invalid, such as when it's missing a quotation mark or curly bracket. It also doesn't crash if you just start typing JSON somewhere it doesn't belong, such as a chat message or a command that doesn't accept JSON (such as /tp). When you press the last key that would make the JSON valid, the game will crash before the character can appear.
Minecraft Info
Minecraft information:
No other mods are installed. Of note is that removing AdvancedChatBox makes the issue no longer occur.
To Reproduce
/tellraw @s {"text":""
{"text":"JSON"}
/title @s title
. The game will crashExpected behavior
I'd assume some sort of JSON-specific syntax highlighting is supposed to show up?
Additional context
Crash report:
crash-2021-12-28_14.35.16-client.txt
Launcher warning:
The text was updated successfully, but these errors were encountered: