🎨 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:
parent
a8b2b9a608
commit
0fefd40812
3 changed files with 50 additions and 9 deletions
|
|
@ -42,13 +42,6 @@ public @interface CommandMethod {
|
|||
*/
|
||||
String value();
|
||||
|
||||
/**
|
||||
* The command permission node
|
||||
*
|
||||
* @return Command permission node
|
||||
*/
|
||||
String permission() default "";
|
||||
|
||||
/**
|
||||
* The required sender
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue