Craftguide: Fix error caused by removing invalid recipes (#2732)
This commit is contained in:
parent
5d0e4aef45
commit
1da168b3c3
2 changed files with 4 additions and 2 deletions
|
@ -111,7 +111,9 @@ local function get_craftable_recipes(output)
|
|||
end
|
||||
end
|
||||
|
||||
return recipes
|
||||
if #recipes > 0 then
|
||||
return recipes
|
||||
end
|
||||
end
|
||||
|
||||
local function show_item(def)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue