commit
de0cdd5334
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue