parent
cde67912f6
commit
5b4d661543
1 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,10 @@ public abstract class Pipe<T extends PipeTransport> implements IPipe, IDropContr
|
|||
Pipe otherPipe;
|
||||
if (tile instanceof TileGenericPipe) {
|
||||
otherPipe = ((TileGenericPipe) tile).pipe;
|
||||
|
||||
if (!BlockGenericPipe.isFullyDefined(otherPipe))
|
||||
return false;
|
||||
|
||||
if (!PipeConnectionBans.canPipesConnect(getClass(), otherPipe.getClass()))
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue