Fix slot overlap in battery bank menu

This commit is contained in:
DBotThePony 2021-08-23 15:55:04 +07:00
parent 0a41c09569
commit 68c4f83fc6
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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();
} }