Mojira Archive
MC-190854

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

  1. Change the language to a right-to-left one, e.g. Arabic (first right-to-left language in the list)
  2. Type the following command in chat
    /give @s command_block
    

    It suggests the closing "}" instead of the opening one ("{")

Unresolved

[Mod] Jiingy

Marcono1234

2020-06-21, 08:15 PM

2024-07-04, 10:10 AM

5

5

Confirmed

Commands, UI

1.15.2 - 1.211.15.2, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w30a, 1.16.3 Release Candidate 1, 1.16.3, 1.21

-