mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 04:32:26 +00:00
Fix Smelteries not updating their current capacity sometimes. Should fix capacity problems.
This commit is contained in:
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 */
|
||||
|
||||
Reference in new issue
Block a user