Alts Can No Longer Be Promoted

This commit is contained in:
Driftay
2020-05-25 14:16:49 -04:00
parent 6f293dce17
commit 7f927189ea
6 changed files with 83 additions and 69 deletions

View File

@@ -55,6 +55,10 @@ public class CmdColeader extends FCommand {
return;
}
if(you.isAlt()){
return;
}
if (context.fPlayer != null && context.fPlayer.getRole() != Role.LEADER && !permAny) {
context.msg(TL.COMMAND_COLEADER_NOTADMIN);
return;