Move default permissions out of Commands and into PermissionNode - fixes #606
This commit is contained in:
@@ -12,4 +12,10 @@ public interface PermissionNode {
|
||||
*/
|
||||
String getNode();
|
||||
|
||||
/**
|
||||
* Return the default permission for this node, e.g. "OP_ONLY"
|
||||
*
|
||||
* @return The default level of permission
|
||||
*/
|
||||
DefaultPermission getDefaultPermission();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user