Merge pull request #27 from davboecki/master

Set ItemStack in the IInventory again after modifiing it.
This commit is contained in:
Chicken-Bones committed 2014-10-04 21:41:28 +10:00
commit e570e12e13
1 file changed
+2
@@ -50,6 +50,8 @@ public class InventoryUtils
ItemStack itemstack1 = item.splitStack(size);
if (item.stackSize == 0)
inv.setInventorySlotContents(slot, null);
else
inv.setInventorySlotContents(slot, item);
inv.markDirty();
return itemstack1;