Fix Smelteries not updating their current capacity sometimes. Should fix capacity problems.

This commit is contained in:
Bernhard Bonigl committed 2014-09-12 15:46:09 +02:00
1 parent eff9bbe325
commit fc0d73dbf6
1 file changed
+5
@@ -179,6 +179,11 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
}
}
}
// update current liquid. This is done in case some config or something changed the capacity or other things.
currentLiquid = 0;
for(FluidStack liquid : moltenMetal)
currentLiquid += liquid.amount;
}
/* Misc */