From 0701203bb996160a16805b41dcfec292b665f0cd Mon Sep 17 00:00:00 2001 From: pupnewfster Date: Wed, 10 Jul 2019 15:57:00 -0400 Subject: [PATCH] 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 --- .../java/mekanism/common/tile/TileEntityLogisticalSorter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/mekanism/common/tile/TileEntityLogisticalSorter.java b/src/main/java/mekanism/common/tile/TileEntityLogisticalSorter.java index 7aa2a3a3b..3ff36f3e7 100644 --- a/src/main/java/mekanism/common/tile/TileEntityLogisticalSorter.java +++ b/src/main/java/mekanism/common/tile/TileEntityLogisticalSorter.java @@ -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;