mirror of
https://github.com/minetest-mods/craftguide.git
synced 2025-06-28 22:26:28 +02:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
98a09f4d4b |
8
init.lua
8
init.lua
@ -1749,14 +1749,10 @@ function craftguide.show(name, item, show_usages)
|
|||||||
|
|
||||||
if not recipes and not usages then
|
if not recipes and not usages then
|
||||||
if not recipes_cache[item] and not usages_cache[item] then
|
if not recipes_cache[item] and not usages_cache[item] then
|
||||||
return false, msg(name, fmt("%s: %s",
|
return false, msg(name, S("No recipe or usage for this item"))
|
||||||
S("No recipe or usage for this item"),
|
|
||||||
get_desc(item)))
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return false, msg(name, fmt("%s: %s",
|
return false, msg(name, S("You don't know a recipe or usage for this item"))
|
||||||
S("You don't know a recipe or usage for this item"),
|
|
||||||
get_desc(item)))
|
|
||||||
end
|
end
|
||||||
|
|
||||||
data.query_item = item
|
data.query_item = item
|
||||||
|
Reference in New Issue
Block a user