Really fix the crafting table crashes. Derp. #1126

This commit is contained in:
Bernhard Bonigl committed 2014-10-26 18:15:26 +01:00
1 parent 6f2ee0f2a4
commit 971b84c3e4
1 file changed
+1 -1
@@ -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