Fix remaining part of #5534 where the logistical sorter assumed that it was connected to an item handler if it could find a tile entity at all

This commit is contained in:
pupnewfster committed 2019-07-10 15:57:00 -04:00
1 parent ba3c4ffc62
commit 0701203bb9
1 file changed
+1 -1
@@ -89,7 +89,7 @@ public class TileEntityLogisticalSorter extends TileEntityEffectsBlock implement
TileEntity back = Coord4D.get(this).offset(facing.getOpposite()).getTileEntity(world);
TileEntity front = Coord4D.get(this).offset(facing).getTileEntity(world);
//If there is no tile to pull from or the push to, skip doing any checks
if (back != null && front != null) {
if (InventoryUtils.isItemHandler(back, facing) && front != null) {
boolean sentItems = false;
int min = 0;