Tank network works again, animation still needs fixed

This commit is contained in:
Robert S 2014-05-16 15:06:05 -04:00
parent ae3cba60f6
commit a3e04e0747
2 changed files with 6 additions and 2 deletions

View file

@ -87,8 +87,11 @@ public abstract class FluidDistributionetwork extends NodeNetwork<FluidDistribut
System.out.println("FluidDistributionNetwork: Tank Contains Fluid: " + getTank().getFluid() + " Tank: " + this.getTank().getFluidAmount());
int fill = this.getTank().fill(resource.copy(), doFill);
System.out.println("FluidDistributionNetwork: Filled " + fill + " Tank: " + this.getTank().getFluidAmount());
if (fill > 0)
{
needsUpdate = true;
NetworkTickHandler.addNetwork(this);
}
return fill;
}

View file

@ -30,6 +30,7 @@ public abstract class TileFluidDistribution extends TileFluidNode implements IFl
{
super.initiate();
refresh();
getNetwork().reconstruct();
}
@Override