Fix slot overlap in battery bank menu
This commit is contained in:
parent
0a41c09569
commit
68c4f83fc6
@ -37,7 +37,7 @@ public class BatteryBankMenu extends MatteryMenu {
|
|||||||
|
|
||||||
for (int row = 0; row < 2; row++)
|
for (int row = 0; row < 2; row++)
|
||||||
for (int column = 0; column < 6; column++)
|
for (int column = 0; column < 6; column++)
|
||||||
addMainSlot(new BatterySlot(batteries, row * 5 + column, 44 + column * 18, 24 + row * 18));
|
addMainSlot(new BatterySlot(batteries, row * 6 + column, 44 + column * 18, 24 + row * 18));
|
||||||
|
|
||||||
addInventorySlots();
|
addInventorySlots();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user