Fixed disband issue.

This commit is contained in:
ProSavage 2018-11-06 23:38:59 -06:00
parent b1b9bd1b73
commit 7f1785e152

View File

@ -48,7 +48,7 @@ public class CmdDisband extends FCommand {
if (! fme.isAdminBypassing()) {
Access access = faction.getAccess(fme, PermissableAction.DISBAND);
if (access != Access.ALLOW || fme.getRole() != Role.LEADER) {
if (fme.getRole() != Role.LEADER && access != Access.ALLOW) {
fme.msg(TL.GENERIC_FPERM_NOPERMISSION, "disband " + faction.getTag());
return;
}