Craftguide: Fix error caused by removing invalid recipes (#2732)
This commit is contained in:
parent
5d0e4aef45
commit
1da168b3c3
@ -111,8 +111,10 @@ local function get_craftable_recipes(output)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if #recipes > 0 then
|
||||||
return recipes
|
return recipes
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
local function show_item(def)
|
local function show_item(def)
|
||||||
return def.groups.not_in_craft_guide ~= 1 and def.description ~= ""
|
return def.groups.not_in_craft_guide ~= 1 and def.description ~= ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user