Fix extraction from sided inventories

This commit is contained in:
gFreezer 2013-08-24 15:52:26 +02:00
parent 5e3a440ff0
commit 3c9348af43

View file

@ -271,7 +271,7 @@ public class InvInteractionHelper
ItemStack slotStack = inventory.getStackInSlot(slot);
if (inventory.canExtractItem(slot, slotStack, direction.ordinal()))
{
ItemStack itemStack = this.removeStackFromInventory(i, inventory, ammount);
ItemStack itemStack = this.removeStackFromInventory(slot, inventory, ammount);
if (itemStack != null)
{
returnStack = itemStack;