Fixed bad check
This commit is contained in:
parent
cf0ad408dd
commit
dc6128a88c
1 changed files with 0 additions and 8 deletions
|
@ -159,14 +159,6 @@ public class PartMechanicalPipe extends PartTransmitter<FluidNetwork> implements
|
||||||
{
|
{
|
||||||
ITransmitter<FluidNetwork> transmitter = (ITransmitter<FluidNetwork>)tileEntity;
|
ITransmitter<FluidNetwork> transmitter = (ITransmitter<FluidNetwork>)tileEntity;
|
||||||
|
|
||||||
if(world().isRemote && transmitter.getTransmitterNetwork(false) == null)
|
|
||||||
{
|
|
||||||
if(!connectionMapContainsSide(currentTransmitterConnections, side))
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(getTransmitterNetwork(false) == null || transmitter.getTransmitterNetwork(false) == null)
|
if(getTransmitterNetwork(false) == null || transmitter.getTransmitterNetwork(false) == null)
|
||||||
{
|
{
|
||||||
if(transmitter.getTransmitterNetwork(false) == null || transmitter.getTransmitterNetwork(false).fluidStored == null)
|
if(transmitter.getTransmitterNetwork(false) == null || transmitter.getTransmitterNetwork(false).fluidStored == null)
|
||||||
|
|
Loading…
Reference in a new issue