From 541e1fc69bb6bdcb796403180f3ba20b8152b5f7 Mon Sep 17 00:00:00 2001 From: BrowkS Date: Thu, 7 May 2020 22:36:39 +0300 Subject: [PATCH] Fixed issue - ignoring "useDisbandGui" if the player is not an OP --- src/main/java/com/massivecraft/factions/cmd/CmdDisband.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdDisband.java b/src/main/java/com/massivecraft/factions/cmd/CmdDisband.java index 0fc36239..6010810d 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdDisband.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdDisband.java @@ -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;