mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 13:29:40 +00:00
KILL #1759 THE IMPOSSIBLE BUG KILL KILL
This commit is contained in:
1 parent
39509fc133
commit
6ffb64b740
1 file changed
+7
-4
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user