Merge pull request #108 from Stefan923/1.6.x

Fixed an issue with disband GUI
This commit is contained in:
DroppingAnvil 2020-05-07 14:44:15 -05:00 committed by GitHub
commit 7bffed2d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;