Skip to content

Commit

Permalink
Really fix the crafting table crashes. Derp. #1126
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Oct 26, 2014
1 parent 6f2ee0f commit 971b84c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ public int getSizeInventory ()
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
Expand Down

0 comments on commit 971b84c

Please sign in to comment.