Skip to content

Commit

Permalink
Merge branch 'master' into weaponry
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Oct 26, 2014
2 parents 947da8f + 971b84c commit d96379f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 d96379f

Please sign in to comment.