Merge pull request #2856 from ruifung/mekFixes

Another bugfix.
This commit is contained in:
Aidan 2015-07-26 11:23:23 -07:00
commit de0cdd5334

View file

@ -18,6 +18,7 @@ public class StackSearcher
public StackSearcher(IInventory inventory, ForgeDirection direction) public StackSearcher(IInventory inventory, ForgeDirection direction)
{ {
theInventory = InventoryUtils.checkChestInv(inventory); theInventory = InventoryUtils.checkChestInv(inventory);
side = direction;
if(!(theInventory instanceof ISidedInventory)) if(!(theInventory instanceof ISidedInventory))
{ {
i = inventory.getSizeInventory(); i = inventory.getSizeInventory();
@ -30,7 +31,6 @@ public class StackSearcher
i = slots.length; i = slots.length;
} }
} }
side = direction;
} }
public InvStack takeTopStack(Finder id) public InvStack takeTopStack(Finder id)