🎨 Create separate annotation for command permissions

This allows for compound annotation creation. Though this will need additional changes made to the annotation parser to actually take effect.
This commit is contained in:
Alexander Söderberg 2020-10-04 13:50:15 +02:00
parent a8b2b9a608
commit 0fefd40812
No known key found for this signature in database
GPG key ID: C0207FF7EA146678
3 changed files with 50 additions and 9 deletions

View file

@ -42,13 +42,6 @@ public @interface CommandMethod {
*/
String value();
/**
* The command permission node
*
* @return Command permission node
*/
String permission() default "";
/**
* The required sender
*