You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an issue with paper brigadier using latest Lamp version (from latest commit) on Paper 1.19.2.
Commands with multiple arguments (including optional ones) work as intended. But when I create a command with no arguments, brigadier expects an argument (which shouldn't be happening).
Code example:
@Command("testcmd")
public void execute(Player player) { ... }
Result in-game:
I should note that the same issue is with subcommands - if subcommand doesn't have arguments, same issue occurs.
The text was updated successfully, but these errors were encountered:
Hey,
I've encountered an issue with paper brigadier using latest Lamp version (from latest commit) on Paper 1.19.2.
Commands with multiple arguments (including optional ones) work as intended. But when I create a command with no arguments, brigadier expects an argument (which shouldn't be happening).
Code example:
Result in-game:
I should note that the same issue is with subcommands - if subcommand doesn't have arguments, same issue occurs.
The text was updated successfully, but these errors were encountered: