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,11 +254,14 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
|
|||
if(fluidStored != null)
|
||||
{
|
||||
prevTransferAmount = tickEmit(fluidStored, true);
|
||||
fluidStored.amount -= prevTransferAmount;
|
||||
|
||||
if(fluidStored != null && fluidStored.amount <= 0)
|
||||
if(fluidStored != null)
|
||||
{
|
||||
fluidStored = null;
|
||||
fluidStored.amount -= prevTransferAmount;
|
||||
|
||||
if(fluidStored.amount <= 0)
|
||||
{
|
||||
fluidStored = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue