Action GUI can now be 6 rows long, surprised no one noticed this bug.

This commit is contained in:
ProSavage 2018-07-26 18:07:55 -05:00
parent 89e6decb78
commit f915507a18

View File

@ -47,9 +47,9 @@ public class PermissableActionGUI implements InventoryHolder, FactionGUI {
} }
guiSize = section.getInt("rows", 3); guiSize = section.getInt("rows", 3);
if (guiSize > 5) { if (guiSize > 6) {
guiSize = 5; guiSize = 6;
P.p.log(Level.INFO, "Action GUI size out of bounds, defaulting to 5"); P.p.log(Level.INFO, "Action GUI size out of bounds, defaulting to 6");
} }
guiSize *= 9; guiSize *= 9;