You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The addPlayerSlots method in the TestContainer class looks like it needs to have the index bumped down by one to stay in sync with the player inventory. +10 throws everything off by one slot.
private void addPlayerSlots(IInventory playerInventory) {
// Slots for the main inventory
for (int row = 0; row < 3; ++row) {
for (int col = 0; col < 9; ++col) {
int x = 9 + col * 18;
int y = row * 18 + 70;
//this.addSlotToContainer(new Slot(playerInventory, col + row * 9 + 10, x, y));
this.addSlotToContainer(new Slot(playerInventory, col + row * 9 + 9, x, y));
}
}
The text was updated successfully, but these errors were encountered:
The addPlayerSlots method in the TestContainer class looks like it needs to have the index bumped down by one to stay in sync with the player inventory. +10 throws everything off by one slot.
The text was updated successfully, but these errors were encountered: