Fixed issue - ignoring "useDisbandGui" if the player is not an OP
This commit is contained in:
parent
bf23521309
commit
541e1fc69b
@ -82,7 +82,7 @@ public class CmdDisband extends FCommand {
|
||||
}
|
||||
|
||||
if (!access) {
|
||||
if (Conf.useDisbandGUI && !context.fPlayer.isAdminBypassing() || !context.player.isOp()) {
|
||||
if (Conf.useDisbandGUI && (!context.fPlayer.isAdminBypassing() || !context.player.isOp())) {
|
||||
if (!disbandMap.containsKey(context.player.getUniqueId().toString())) {
|
||||
new FDisbandFrame(context.faction).buildGUI(context.fPlayer);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user