mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Another fluid tank fix
This commit is contained in:
1 parent
1377ec88e8
commit
0b04665055
1 file changed
+3
-2
@@ -99,9 +99,10 @@ public class DynamicFluidTank implements IFluidTank
|
||||
return resource.amount;
|
||||
}
|
||||
else {
|
||||
int prevNeeded = getNeeded();
|
||||
|
||||
if(doFill)
|
||||
{
|
||||
int prevNeeded = getNeeded();
|
||||
dynamicTank.structure.fluidStored.amount = getCapacity();
|
||||
|
||||
if(prevNeeded > 0)
|
||||
@@ -113,7 +114,7 @@ public class DynamicFluidTank implements IFluidTank
|
||||
}
|
||||
}
|
||||
|
||||
return getNeeded();
|
||||
return prevNeeded;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user