mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-13 17:04:03 +00:00
Avoid divide by zero error
This commit is contained in:
1 parent
2c0292c3e7
commit
abd1b38870
2 files changed
+2
-2
No files matched your search
@@ -2,4 +2,4 @@ mc_version=1.7.10
|
||||
forge_version=10.13.4.1614-1.7.10
|
||||
ccl_version=1.1.3.138
|
||||
ccc_version=1.0.7.+
|
||||
mod_version=2.0.0-beta-2-GTNH
|
||||
mod_version=2.0.0-beta-3-GTNH
|
||||
@@ -61,7 +61,7 @@ public class LayoutStyleMinecraft extends LayoutStyle
|
||||
|
||||
//leftSize = ((gui.width - gui.xSize) / 2) - 3;
|
||||
leftSize = ItemPanels.bookmarkPanel.getWidth(gui);
|
||||
numButtons = leftSize / 18;
|
||||
numButtons = Math.max(leftSize / 18, 1);
|
||||
|
||||
delete.state = 0x4;
|
||||
if (NEIController.getDeleteMode())
|
||||
|
||||
Reference in new issue
Block a user