Fixed disband issue

This commit is contained in:
ProSavage 2018-09-30 15:45:58 -05:00
parent 2a127950fc
commit 11f7b7511d

View File

@ -45,7 +45,7 @@ public class CmdDisband extends FCommand {
boolean isMyFaction = fme != null && faction == myFaction;
if (!fme.isAdminBypassing()) {
if (!fme.isAdminBypassing() && isMyFaction) {
Access access = myFaction.getAccess(fme, PermissableAction.DISBAND);
if (access != Access.ALLOW && fme.getRole() != Role.ADMIN) {
fme.msg(TL.GENERIC_FPERM_NOPERMISSION, "disband faction");