Give CMods access to /c x commands
This commit is contained in:
parent
f5ae4a7ca5
commit
51798d5658
@ -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()))));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user