Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter hints when defocusing the tab suggestion box no longer appear without typing a character #29

Open
WiIIiam278 opened this issue Aug 4, 2022 · 1 comment

Comments

@WiIIiam278
Copy link

The "hints" that appear indicating expected command arguments when you press escape to exit the box with tab suggestions no longer seem to appear as of 1.19 / new commodore versions. This affects LuckPerms, too.

Reproduce (using LP as an example, though you can use this library in another project and experience the same results).

  1. Fire up a server with the latest Luckperms running Paper (supporting commodore 2.1+)
  2. Type /luckperms user player permission set
  3. You will be presented with a list of tab suggestions. Press ESC to exit the window
  4. You should see the remaining parameters to enter on the command. Instead, you see an (incorrect) syntax error.

Example of this occurring with my plugin. Here, I've pressed ESC and expect the field name I am on "name" to appear as a hint; [<name>]
image

Expected result, with LuckPerms:
image

Actual result (Commodore 2.2 / Paper 69950d5 / Minecraft 1.19.1):
image

However, parameter hints will appear if you type a character into the field work.
image

This does not mirror Vanilla behavior, where hints are able to display even before typing a character.
image

Thank you for your work!

@CyberedCake
Copy link

I'm pretty sure this has been an issue for a while now, as I remember this being a problem in 1.18, unless I am misremembering something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants