diff --git a/changelog.txt b/changelog.txt index f7bd273..d46dccd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,8 +1,8 @@ --------------------------------------------------------------------------------------------------- Version: 0.4.20 -Date: 2022-01-15 +Date: 2022-01-17 Features: - - Crafting efficiency compatibility + - (Beta) Crafting efficiency compatibility --------------------------------------------------------------------------------------------------- Version: 0.4.19 Date: 2022-12-30 diff --git a/compatibility/crafting-efficiency.lua b/compatibility/crafting-efficiency.lua index 27b6eff..0070868 100644 --- a/compatibility/crafting-efficiency.lua +++ b/compatibility/crafting-efficiency.lua @@ -7,7 +7,9 @@ if mods["crafting-efficiency-2"] then for i, recipe in pairs(util.me.recipes) do -- add remaining recipes with direct items to find the icons - if data.raw.recipe[recipe] and data.raw.item[recipe] and not eff_data[recipe] and util.get_result_count(recipe) == 1 then + if data.raw.recipe[recipe] and data.raw.item[recipe] and not eff_data[recipe] and + recipe ~= "alumina" and -- for some reason this does not work, despite having a main_product + (data.raw.recipe[recipe].main_product or util.get_result_count(recipe) == 1) then eff_data[recipe] = { max = 15, icon = data.raw.item[recipe].icon,