Fixed a small Dynamic Tank bug

This commit is contained in:
aidancbrady committed 2015-05-09 18:12:41 -04:00
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);