Fixed a transporter output bug

This commit is contained in:
Aidan C. Brady 2015-02-17 21:34:36 -05:00
parent 488af7e8ae
commit dcf7d7772a

View file

@ -364,7 +364,7 @@ public class PartLogisticalTransporter extends PartSidedPipe implements ILogisti
if(tile instanceof IInventory) if(tile instanceof IInventory)
{ {
IInventory inv = (IInventory)tile; IInventory inv = (IInventory)tile;
InvStack stack = InventoryUtils.takeTopItem(inv, side.getOpposite().ordinal()); InvStack stack = InventoryUtils.takeTopItem(inv, side.ordinal());
if(stack != null && stack.getStack() != null) if(stack != null && stack.getStack() != null)
{ {