Skip to content

Commit

Permalink
Fixed Liquid Pipe Connections for updated Pipe Connection logic.
Browse files Browse the repository at this point in the history
Signed-off-by: King Lemming <kinglemming@gmail.com>
  • Loading branch information
KingLemming committed May 11, 2013
1 parent 6e76d4b commit 092e40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/buildcraft/transport/PipeTransportLiquids.java
Expand Up @@ -507,7 +507,7 @@ public boolean canPipeConnect(TileEntity tile, ForgeDirection side) {
if (tile instanceof ITankContainer) {
ITankContainer liq = (ITankContainer) tile;

if (liq.getTanks(side) != null && liq.getTanks(side).length > 0)
if (liq.getTanks(side.getOpposite()) != null && liq.getTanks(side.getOpposite()).length > 0)
return true;
}

Expand Down

0 comments on commit 092e40f

Please sign in to comment.