Fixed gas/fluid transfer
This commit is contained in:
parent
f6043b6a62
commit
945aff6986
2 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ public class GasNetwork extends DynamicNetwork<IGasHandler, GasNetwork>
|
|||
|
||||
if(gasStored != null)
|
||||
{
|
||||
gasStored.amount -= (gasStored.amount - tickEmit(gasStored));
|
||||
gasStored.amount -= tickEmit(gasStored);
|
||||
|
||||
if(gasStored.amount <= 0)
|
||||
{
|
||||
|
|
|
@ -179,7 +179,7 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
|
|||
|
||||
if(fluidStored != null)
|
||||
{
|
||||
fluidStored.amount -= (fluidStored.amount - tickEmit(fluidStored, true));
|
||||
fluidStored.amount -= tickEmit(fluidStored, true);
|
||||
|
||||
if(fluidStored.amount <= 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue