LuckPerms

LuckPerms

41.4k Downloads

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

WiIIiam278 opened this issue ยท 1 comments

commented

Description

The "hints" that appear indicating expected command arguments when you press escape to exit the box with tab suggestions no longer appear following the upgrade made to allow Commodore to support 1.19+.

Caused by lucko/commodore#29 - I'm reporting this here in addition to on the commodore tracker for posterity (although LuckPerms itself isn't the source of the issue, I figured it's good to have this here so it can be better tracked with LuckPerms)

Reproduction Steps

  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.

Expected Behaviour

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

Server Details

1.19.2

LuckPerms Version

v5.4.41

Logs and Configs

No response

Extra Details

Caused by lucko/commodore#29

commented

We can track the issue in the commodore repo, thanks :)