mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-23 13:29:40 +00:00
Fixed a small Dynamic Tank bug
This commit is contained in:
1 parent
c62e27d5fd
commit
1c8c12ee88
1 file changed
+2
-1
@@ -101,9 +101,10 @@ public class DynamicFluidTank implements IFluidTank
|
||||
else {
|
||||
if(doFill)
|
||||
{
|
||||
int prevNeeded = getNeeded();
|
||||
dynamicTank.structure.fluidStored.amount = getCapacity();
|
||||
|
||||
if(getNeeded() > 0)
|
||||
if(prevNeeded > 0)
|
||||
{
|
||||
MekanismUtils.saveChunk(dynamicTank);
|
||||
updateValveData(true);
|
||||
|
||||
Reference in new issue
Block a user