Merge pull request #1155 from ganymedes01/master
Better handling for ISidedInventory tile entities
This commit is contained in:
commit
bfd57e4b0d
1 changed files with 3 additions and 1 deletions
|
@ -573,6 +573,8 @@ public class PipeTransportItems extends PipeTransport {
|
|||
return false;
|
||||
}
|
||||
|
||||
if(tile instanceof ISidedInventory)
|
||||
return ((ISidedInventory)tile).getAccessibleSlotsFromSide(side.getOpposite().ordinal()).length > 0;
|
||||
return tile instanceof TileGenericPipe || tile instanceof ISpecialInventory || (tile instanceof IInventory && ((IInventory) tile).getSizeInventory() > 0)
|
||||
|| (tile instanceof IMachine && ((IMachine) tile).manageSolids());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue