Fix a StackOverflow

This commit is contained in:
Ben Spiers 2013-12-16 21:33:41 +00:00
parent 5272d169c4
commit b0e2401b06

View file

@ -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;