oops chest inventory starts at 0
This commit is contained in:
@@ -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,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user