Removed print line from network classes

This commit is contained in:
DarkGuardsman 2014-01-15 08:24:57 -05:00
parent 8213d6e80b
commit 29d9f58213
2 changed files with 2 additions and 6 deletions

View file

@ -29,8 +29,8 @@ public class PipeNetwork extends FluidNetwork
public void update()
{
super.update();
//Slight delay to allow visual effect to take place before draining the pipe tanks
if (this.ticks % 2 == 0 && this.getTank().getFluid() != null)
//Slight delay to allow visual effect to take place before draining the pipe's internal tank
if (this.ticks % 2 == 0 && this.getTank().getFluidAmount() > 0)
{
FluidStack stack = this.getTank().getFluid().copy();
int count = this.connectionMap.size();

View file

@ -8,7 +8,6 @@ import net.minecraftforge.fluids.FluidStack;
import resonantinduction.api.fluid.IFluidPart;
import resonantinduction.mechanical.fluid.network.FluidNetwork;
import universalelectricity.core.net.NetworkTickHandler;
import calclavia.lib.utility.FluidUtility;
/** Network that handles connected tanks
*
@ -23,13 +22,11 @@ public class TankNetwork extends FluidNetwork
@Override
public void reloadTanks()
{
System.out.println("TankNetwork: Balancing fluid");
FluidStack fillStack = this.getTank().getFluid();
int lowestY = 255, highestY = 0;
if (fillStack == null || fillStack.getFluid().isGaseous())
{
System.out.println("TankNetwork: Stack is null or a gas");
super.reloadTanks();
}
else if (this.getConnectors().size() > 0)
@ -62,7 +59,6 @@ public class TankNetwork extends FluidNetwork
}
if (!parts.isEmpty())
{
System.out.println("TankNetwork: balancing level: " + y);
this.fillTankSet(fillStack, parts);
}