mojira.dev
MC-297775

/help could output the command usages that are invalid

One example is /locate, which should have a literal directly following it.
When players enter /help locate , the following command usages are displayed:

/locate structure <structure>
/locate biome <biome>
/locate poi <poi>

However, if players enter /help locate s, the result becomes:

/locate s structure <structure>
/locate s biome <biome>
/locate s poi <poi>

Obviously, they are all invalid.

The same happens with any input: /help locate owo, /help locate a pickaxe, etc., unless the second token is structure, biome, or poi.

Another example is /teleport, which doesn't have a literal directly following it.
If players try /help teleport owo, it return nothing. But if players try /help teleport <, it results in:

/teleport < <location> ...

This issue occurs when the second token contains any characters that make com.mojang.brigadier.StringReader.isAllowedInUnquotedString(char) return false, or it’s length is greater than 16.

Linked issues

Comments 1

Thank you for your report!
We are tracking this issue in MC-124693, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote or provide any additional information to the main ticket, it would be appreciated.

If you haven’t already, please make use of the search feature to see whether an issue has already been reported.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

Bamboo Bear

(Unassigned)

Unconfirmed

(Unassigned)

1.21.5

Retrieved