mojira.dev
MC-179753

Brigadier Paramter Hint not getting displayed when there are no suggestions

This affects both multiplayer and singleplayer.

I discovered this using a custom command, but it works for vanilla commands too.

Enter "/enchant @e minecraft:aqua_affinity" into chat, press space.

you see: error: 

[media]

I expect: the parameter hint for the following argument.

Second test:

Enter "/enchant @e minecraft:aqua_affinity" into chat, press space twice, press left.

you see: param hint: 

[media]

I would expect this param hin to be displayed without the second space, when there are no suggestions available.

This is reproducible both with required and optional arguments.

Environment

win10, bundled java version

Linked issues

Comments 0

No comments.

MiniDigger

(Unassigned)

Confirmed

Commands

brigadier, commands

1.15.2, 20w16a

Retrieved