-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Expected behavior
For annotations unrelated to StrokkCommands on parameters to be ignored
Observed/Actual behavior
When you put an annotation on an executor or an argument, it fails to compile with this type of error:
D:\Paper\test-plugin\src\main\java\io\papermc\testplugin\TestCommand.java:14: error: Cannot find Brigadier equivalent for argument of type org.bukkit.entity.@org.jetbrains.annotations.NotNull Player.
void test(CommandSender sender, @NotNull @Executor Player player) {Steps/models to reproduce
Just create a command and add a @NotNull annotation to a method parameter
Other
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working