Compatibility fix to pipes with custom connection logic (e.g. pipes from Additional Buildcraft Objects)
This commit is contained in:
parent
7fbe8623ac
commit
692d0ff6d5
1 changed files with 3 additions and 0 deletions
|
@ -383,6 +383,9 @@ public class TileGenericPipe extends TileEntity implements IPowerReceptor, ILiqu
|
|||
&& !pipe1.transport.allowsConnect(pipe2.transport))
|
||||
return false;
|
||||
|
||||
if (pipe2 != null && !( pipe2.isPipeConnected(this)))
|
||||
return false;
|
||||
|
||||
return pipe1 != null ? pipe1.isPipeConnected(with) : false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue