Changed the enum for Leader to actually be leader and not admin.

This commit is contained in:
ProSavage
2018-10-18 19:39:48 -05:00
parent 713aab8bfa
commit 80e66d7d6c
32 changed files with 181 additions and 182 deletions

View File

@@ -55,7 +55,7 @@ public class CmdColeader extends FCommand {
return;
}
if (fme != null && fme.getRole() != Role.ADMIN && !permAny) {
if (fme != null && fme.getRole() != Role.LEADER && ! permAny) {
msg(TL.COMMAND_COLEADER_NOTADMIN);
return;
}
@@ -65,7 +65,7 @@ public class CmdColeader extends FCommand {
return;
}
if (you.getRole() == Role.ADMIN) {
if (you.getRole() == Role.LEADER) {
msg(TL.COMMAND_COLEADER_TARGETISADMIN);
return;
}