Action GUI can now be 6 rows long, surprised no one noticed this bug.
This commit is contained in:
parent
89e6decb78
commit
f915507a18
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user