Merge pull request #79 from mistaqur/master
Compatibility fix to pipes with custom connection logic
This commit is contained in:
commit
6956322fd8
1 changed files with 3 additions and 0 deletions
|
@ -384,6 +384,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