Fixed disband issue.
This commit is contained in:
parent
b1b9bd1b73
commit
7f1785e152
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user