Tank network works again, animation still needs fixed
This commit is contained in:
parent
ae3cba60f6
commit
a3e04e0747
2 changed files with 6 additions and 2 deletions
|
@ -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());
|
||||
needsUpdate = true;
|
||||
NetworkTickHandler.addNetwork(this);
|
||||
if (fill > 0)
|
||||
{
|
||||
needsUpdate = true;
|
||||
NetworkTickHandler.addNetwork(this);
|
||||
}
|
||||
return fill;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ public abstract class TileFluidDistribution extends TileFluidNode implements IFl
|
|||
{
|
||||
super.initiate();
|
||||
refresh();
|
||||
getNetwork().reconstruct();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue