Fixed connection issues for ITileConnection

This commit is contained in:
DarkGuardsman 2013-07-29 00:51:32 -04:00
parent 55a42adce1
commit 357cffc9cd

View file

@ -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)
{