From 84a7377ed0e179d30045ebd1954f299a3c1637fd Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Wed, 15 Jul 2020 15:14:35 +0200 Subject: [PATCH] Fixed missed recipes (again and again) --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 966b9e8..632bf19 100644 --- a/init.lua +++ b/init.lua @@ -1502,7 +1502,7 @@ core.register_craft = function(def) end end - if def.type ~= "fuel" then + if def.type and def.type ~= "fuel" and def.type ~= "shapeless" then def.recipe = nil recipes_cache[name] = recipes_cache[name] or {} insert(recipes_cache[name], 1, def)