KILL #1759 THE IMPOSSIBLE BUG KILL KILL
This commit is contained in:
parent
39509fc133
commit
6ffb64b740
1 changed files with 7 additions and 4 deletions
|
@ -254,15 +254,18 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
|
||||||
if(fluidStored != null)
|
if(fluidStored != null)
|
||||||
{
|
{
|
||||||
prevTransferAmount = tickEmit(fluidStored, true);
|
prevTransferAmount = tickEmit(fluidStored, true);
|
||||||
|
if(fluidStored != null)
|
||||||
|
{
|
||||||
fluidStored.amount -= prevTransferAmount;
|
fluidStored.amount -= prevTransferAmount;
|
||||||
|
|
||||||
if(fluidStored != null && fluidStored.amount <= 0)
|
if(fluidStored.amount <= 0)
|
||||||
{
|
{
|
||||||
fluidStored = null;
|
fluidStored = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void clientTick()
|
public void clientTick()
|
||||||
|
|
Loading…
Reference in a new issue