diff --git a/common/buildcraft/core/utils/Utils.java b/common/buildcraft/core/utils/Utils.java index d2d7215c..7c8ac566 100644 --- a/common/buildcraft/core/utils/Utils.java +++ b/common/buildcraft/core/utils/Utils.java @@ -148,8 +148,12 @@ public class Utils { TileEntity pipeEntry = w.getBlockTileEntity((int) pos.x, (int) pos.y, (int) pos.z); - if (pipeEntry instanceof IPipeEntry && ((IPipeEntry) pipeEntry).acceptItems()) + if (pipeEntry instanceof IPipeEntry && ((IPipeEntry) pipeEntry).acceptItems()) { + if( pipeEntry instanceof IPipeConnection ) + if( !((IPipeConnection) pipeEntry).isPipeConnected(from.reverse()) ) + continue; possiblePipes.add(Orientations.values()[j]); + } } if (possiblePipes.size() > 0) {