From 971b84c3e4f18a9068249f6f3ec51a14e3626e8f Mon Sep 17 00:00:00 2001 From: Bernhard Bonigl Date: Sun, 26 Oct 2014 18:15:26 +0100 Subject: [PATCH] Really fix the crafting table crashes. Derp. #1126 --- .../tconstruct/tools/inventory/InventoryCraftingStation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/tconstruct/tools/inventory/InventoryCraftingStation.java b/src/main/java/tconstruct/tools/inventory/InventoryCraftingStation.java index fe19d842..41ba5f7d 100644 --- a/src/main/java/tconstruct/tools/inventory/InventoryCraftingStation.java +++ b/src/main/java/tconstruct/tools/inventory/InventoryCraftingStation.java @@ -38,7 +38,7 @@ public class InventoryCraftingStation extends InventoryCrafting public ItemStack getStackInSlot (int slot) { // the 9 slots + 1 output slot that's not accessible, we therefore have to add 1 to the slot accessed - return slot > this.getSizeInventory() ? null : logic.getStackInSlot(slot+1); + return slot >= this.getSizeInventory() ? null : logic.getStackInSlot(slot+1); } @Override