Code tidy

This commit is contained in:
Jean-Patrick Guerrero 2020-07-07 18:24:18 +02:00
parent f74956e8e7
commit 4b744e243c

@ -705,8 +705,8 @@ local function cache_recipes(item)
local def = reg_items[item]
if not def then return end
local recipes = get_all_recipes(item) or {}
if #recipes > 0 then
local recipes = get_all_recipes(item)
if recipes then
recipes_cache[item] = recipes
end