mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-12-14 10:40:18 +01:00
Fixed missed recipes (again and again)
This commit is contained in:
parent
c008f5097d
commit
84a7377ed0
2
init.lua
2
init.lua
@ -1502,7 +1502,7 @@ core.register_craft = function(def)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if def.type ~= "fuel" then
|
if def.type and def.type ~= "fuel" and def.type ~= "shapeless" then
|
||||||
def.recipe = nil
|
def.recipe = nil
|
||||||
recipes_cache[name] = recipes_cache[name] or {}
|
recipes_cache[name] = recipes_cache[name] or {}
|
||||||
insert(recipes_cache[name], 1, def)
|
insert(recipes_cache[name], 1, def)
|
||||||
|
Loading…
Reference in New Issue
Block a user