removed debug output
This commit is contained in:
parent
7b8e6c2eaf
commit
7b4c218155
1 changed files with 3 additions and 3 deletions
|
@ -107,7 +107,7 @@ public class TileEntityDrain extends TileEntityFluidDevice implements IFluidHand
|
||||||
|
|
||||||
fillVolume = resource.amount;
|
fillVolume = resource.amount;
|
||||||
|
|
||||||
System.out.println("Drain>>FillArea>>Targets>> " + getFillFinder().results.size());
|
//System.out.println("Drain>>FillArea>>Targets>> " + getFillFinder().results.size());
|
||||||
|
|
||||||
List<Vector3> fluids = new ArrayList<Vector3>();
|
List<Vector3> fluids = new ArrayList<Vector3>();
|
||||||
List<Vector3> blocks = new ArrayList<Vector3>();
|
List<Vector3> blocks = new ArrayList<Vector3>();
|
||||||
|
@ -141,7 +141,7 @@ public class TileEntityDrain extends TileEntityFluidDevice implements IFluidHand
|
||||||
{
|
{
|
||||||
|
|
||||||
fillVolume -= FluidHelper.fillBlock(worldObj, loc, FluidHelper.getStack(resource, fillVolume), doFill);
|
fillVolume -= FluidHelper.fillBlock(worldObj, loc, FluidHelper.getStack(resource, fillVolume), doFill);
|
||||||
System.out.println("Drain>>FillArea>>Filling>>" + (doFill ? "" : "Sim>>") + ">>Fluid>" + loc.toString());
|
//System.out.println("Drain>>FillArea>>Filling>>" + (doFill ? "" : "Sim>>") + ">>Fluid>" + loc.toString());
|
||||||
|
|
||||||
if (doFill)
|
if (doFill)
|
||||||
{
|
{
|
||||||
|
@ -181,7 +181,7 @@ public class TileEntityDrain extends TileEntityFluidDevice implements IFluidHand
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.getLiquidFinder().results.removeAll(filled);
|
this.getLiquidFinder().results.removeAll(filled);
|
||||||
System.out.println("Drain>>FillArea>>Filling>>Filled>>" + (doFill ? "" : "Sim>>") + (resource.amount - fillVolume) + "mb");
|
//System.out.println("Drain>>FillArea>>Filling>>Filled>>" + (doFill ? "" : "Sim>>") + (resource.amount - fillVolume) + "mb");
|
||||||
return Math.max(resource.amount - fillVolume, 0);
|
return Math.max(resource.amount - fillVolume, 0);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue