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;
|
Pipe otherPipe;
|
||||||
if (tile instanceof TileGenericPipe) {
|
if (tile instanceof TileGenericPipe) {
|
||||||
otherPipe = ((TileGenericPipe) tile).pipe;
|
otherPipe = ((TileGenericPipe) tile).pipe;
|
||||||
|
|
||||||
|
if (!BlockGenericPipe.isFullyDefined(otherPipe))
|
||||||
|
return false;
|
||||||
|
|
||||||
if (!PipeConnectionBans.canPipesConnect(getClass(), otherPipe.getClass()))
|
if (!PipeConnectionBans.canPipesConnect(getClass(), otherPipe.getClass()))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue