diff --git a/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java b/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java index 3be7f610..89295f53 100644 --- a/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java +++ b/src/main/java/tconstruct/smeltery/logic/SmelteryLogic.java @@ -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 */