Show itemstring for unknown item

This commit is contained in:
Jean-Patrick Guerrero 2019-09-11 16:35:56 +02:00
parent 2ffef6794a
commit 738c2140a7

@ -644,11 +644,11 @@ local function get_recipe_fs(data, fs)
local burntime = fuel_cache[item] and fuel_cache[item].burntime local burntime = fuel_cache[item] and fuel_cache[item].burntime
local info = { local info = {
unknown = not reg_items[item],
groups = groups, groups = groups,
burntime = burntime, burntime = burntime,
cooktime = cooktime, cooktime = cooktime,
replace = replace, replace = replace,
repair = nil,
} }
for _, v in pairs(info) do for _, v in pairs(info) do