mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-12-01 22:43:43 +01:00
Show itemstring for unknown item
This commit is contained in:
parent
2ffef6794a
commit
738c2140a7
2
init.lua
2
init.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user