Command syntax help is affected by right-to-left languages
The bug
The command syntax help which makes suggestions in chat or command blocks is affected by right-to-left languages, converting "[" to "]", "{" to "}" and similar. This causes it to make invalid suggestions.
Affected situations
Likely incomplete
- /give: Suggest "}" for item NBT
- /setblock:
- Suggests "]" for block state properties, "}" for block entity NBT
- Suggests block coordinates reversed
- Suggests tildes without space: /setblock ~~
Reproduction steps
- Change the language to a right-to-left one, e.g. Arabic (first right-to-left language in the list)
- Type the following command in chat
/give @s command_block
It suggests the closing "}" instead of the opening one ("{")
2020-06-21, 08:15 PM
2024-07-04, 10:10 AM
5
5
-