From 357cffc9cd50f1b41872447d611f02fa210ea122 Mon Sep 17 00:00:00 2001 From: DarkGuardsman Date: Mon, 29 Jul 2013 00:51:32 -0400 Subject: [PATCH] Fixed connection issues for ITileConnection --- src/minecraft/dark/fluid/common/pipes/TileEntityPipe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/minecraft/dark/fluid/common/pipes/TileEntityPipe.java b/src/minecraft/dark/fluid/common/pipes/TileEntityPipe.java index 3451ca779..4ee67c50b 100644 --- a/src/minecraft/dark/fluid/common/pipes/TileEntityPipe.java +++ b/src/minecraft/dark/fluid/common/pipes/TileEntityPipe.java @@ -418,7 +418,7 @@ public class TileEntityPipe extends TileEntityAdvanced implements IFluidHandler, } /** Checks to make sure the connection is valid to the tileEntity - * + * * @param tileEntity - the tileEntity being checked * @param side - side the connection is too * @return */ @@ -432,7 +432,7 @@ public class TileEntityPipe extends TileEntityAdvanced implements IFluidHandler, } if (tileEntity instanceof ITileConnector) { - if (((ITileConnector) tileEntity).canTileConnect(this, side)) + if (((ITileConnector) tileEntity).canTileConnect(this, side.getOpposite())) { if (tileEntity instanceof INetworkPipe) {