Merge pull request #56 from gFreezer/master

Fix extraction from sided inventories
This commit is contained in:
Robert WC Seifert 2013-08-24 07:34:37 -07:00
commit dd6641bc65

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;