Fixed missed recipes (again and again)

This commit is contained in:
Alexander Weber 2020-07-15 15:14:35 +02:00 committed by Jean-Patrick Guerrero
parent c008f5097d
commit 84a7377ed0
1 changed files with 1 additions and 1 deletions

View File

@ -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)