From ea0a7e1981864c6b39eeef0c81947afcd192e7f7 Mon Sep 17 00:00:00 2001 From: Brevven Date: Mon, 16 Jan 2023 23:15:56 -0800 Subject: [PATCH] fix --- compatibility/crafting-efficiency.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compatibility/crafting-efficiency.lua b/compatibility/crafting-efficiency.lua index 47055ed..62dc93d 100644 --- a/compatibility/crafting-efficiency.lua +++ b/compatibility/crafting-efficiency.lua @@ -10,6 +10,8 @@ if mods["crafting-efficiency-2"] then if data.raw.recipe[recipe] and (data.raw.item[recipe] or data.raw.fluid[recipe]) and not eff_data[recipe] and recipe ~= "alumina" and -- for some reason this does not work, despite having a main_product + recipe ~= "phenol" and -- for some reason this does not work, despite having a main_product + "enriched-" ~= string.sub(recipe, 1, string.len("enriched-")) and (data.raw.recipe[recipe].main_product or util.get_result_count(recipe) == 1) then eff_data[recipe] = { max = 15,