fix: [bug] remaining heat on the smelter is wasted if no fuel was burning

This commit is contained in:
minjaesong
2024-02-12 20:40:56 +09:00
parent 16c52a5e11
commit 0a2d15e417

View File

@@ -250,7 +250,7 @@ class FixtureSmelterBasic : FixtureBase, CraftingStation {
// roast items
if (oreItem != null &&
fuelCaloriesNow > 0f &&
temperature > 0f &&
oreItemProp?.smeltingProduct != null &&
(productItem == null || oreItemProp.smeltingProduct == productItem!!.itm)
) {