mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-23 03:13:44 +01:00
Tweak unknown item tooltip
This commit is contained in:
parent
34082ac1f2
commit
d6510f1ad4
2
init.lua
2
init.lua
@ -52,7 +52,7 @@ function craftguide:get_tooltip(item, recipe_type, cooktime, groups)
|
|||||||
item_desc = minetest.registered_items[item].description
|
item_desc = minetest.registered_items[item].description
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
return tooltip..item.."]"
|
return tooltip.."Unknown Item ("..item..")]"
|
||||||
end
|
end
|
||||||
if groups then
|
if groups then
|
||||||
local groupstr = "Any item belonging to the "
|
local groupstr = "Any item belonging to the "
|
||||||
|
Loading…
Reference in New Issue
Block a user