Give CMods access to /c x commands

This commit is contained in:
Alexander Meech 2017-09-01 14:18:05 -04:00 committed by cnr
parent f5ae4a7ca5
commit 51798d5658

View File

@ -39,8 +39,8 @@ public class ClansAdmin
private void generatePermissions() private void generatePermissions()
{ {
PermissionGroup.ADMIN.setPermission(Perm.USE_ADMIN_COMMANDS, true, true); PermissionGroup.ADMIN.setPermission(Perm.USE_ADMIN_COMMANDS, true, true);
PermissionGroup.CMOD.setPermission(Perm.USE_ADMIN_COMMANDS, false, true);
} }
public void command(Player caller, String[] args) public void command(Player caller, String[] args)
@ -936,4 +936,4 @@ public class ClansAdmin
//Inform //Inform
UtilPlayer.message(caller, F.main("Clans Admin", "Territory Safe Zone: " + F.tf(claim.isSafe(caller.getLocation())))); UtilPlayer.message(caller, F.main("Clans Admin", "Territory Safe Zone: " + F.tf(claim.isSafe(caller.getLocation()))));
} }
} }