Fixed Quantum Entangloporters

This commit is contained in:
aidancbrady committed 2017-04-22 14:36:04 -04:00
1 parent 796c9e502a
commit a9d438c962
8 files changed
+56 -82

No files matched your search

@@ -28,14 +28,10 @@ public final class TransporterUtils
return false;
}
if(InventoryUtils.isItemHandler(tile, side.getOpposite()))
{
return true;
}
else if(tile instanceof IInventory)
if(tile instanceof IInventory)
{
IInventory inventory = (IInventory)tile;
if(inventory.getSizeInventory() > 0)
{
if(!(inventory instanceof ISidedInventory))
@@ -48,6 +44,10 @@ public final class TransporterUtils
return (slots != null && slots.length > 0);
}
}
else if(InventoryUtils.isItemHandler(tile, side.getOpposite()))
{
return true;
}
return false;
}