From f915507a18d6a3ee15f15d3ce9c1c68edff33f1e Mon Sep 17 00:00:00 2001 From: ProSavage Date: Thu, 26 Jul 2018 18:07:55 -0500 Subject: [PATCH] Action GUI can now be 6 rows long, surprised no one noticed this bug. --- .../factions/zcore/fperms/gui/PermissableActionGUI.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/zcore/fperms/gui/PermissableActionGUI.java b/src/main/java/com/massivecraft/factions/zcore/fperms/gui/PermissableActionGUI.java index e45fa8ed..edc8970b 100644 --- a/src/main/java/com/massivecraft/factions/zcore/fperms/gui/PermissableActionGUI.java +++ b/src/main/java/com/massivecraft/factions/zcore/fperms/gui/PermissableActionGUI.java @@ -47,9 +47,9 @@ public class PermissableActionGUI implements InventoryHolder, FactionGUI { } guiSize = section.getInt("rows", 3); - if (guiSize > 5) { - guiSize = 5; - P.p.log(Level.INFO, "Action GUI size out of bounds, defaulting to 5"); + if (guiSize > 6) { + guiSize = 6; + P.p.log(Level.INFO, "Action GUI size out of bounds, defaulting to 6"); } guiSize *= 9;