Fix a StackOverflow
This commit is contained in:
parent
5272d169c4
commit
b0e2401b06
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ public class PartMechanicalPipe extends PartTransmitter<FluidNetwork> implements
|
|||
{
|
||||
ITransmitter<FluidNetwork> transmitter = (ITransmitter<FluidNetwork>)tileEntity;
|
||||
|
||||
if(getTransmitterNetwork(false) == null || transmitter.getTransmitterNetwork(false) == null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if(getTransmitterNetwork().fluidStored == null || transmitter.getTransmitterNetwork().fluidStored == null)
|
||||
{
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue