Don't emit fluid from active pipes.
This commit is contained in:
parent
7a7b398f31
commit
ecd9f29f07
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
|
|||
|
||||
for(ITransmitter<FluidNetwork> pipe : iterPipes)
|
||||
{
|
||||
if(pipe instanceof TileEntityMechanicalPipe && ((TileEntityMechanicalPipe) pipe).isActive) continue;
|
||||
IFluidHandler[] acceptors = PipeUtils.getConnectedAcceptors((TileEntity)pipe);
|
||||
|
||||
for(IFluidHandler acceptor : acceptors)
|
||||
|
|
Loading…
Add table
Reference in a new issue