oops chest inventory starts at 0

This commit is contained in:
2026-03-10 20:00:05 -03:00
parent 25c950422b
commit c4fd8113c4
+1 -1
View File
@@ -25,7 +25,7 @@ export class GuiChest extends GuiScreen {
this.slots.push( this.slots.push(
new Slot( new Slot(
this.inventory, this.inventory,
l + i * 9 + 9, l + i * 9,
chest_x + l * SLOT_SIZE, chest_x + l * SLOT_SIZE,
chest_y + i * SLOT_SIZE, chest_y + i * SLOT_SIZE,
), ),