mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-28 06:43:00 +00:00
Fix crash in craftguide w/ unknown group
This commit is contained in:
parent
b0a72d548d
commit
0c02551769
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ function craftguide:get_tooltip_raw(item, recipe_type, cooktime, groups)
|
||||||
--[[ Fallback: Generic group explanation: This always
|
--[[ Fallback: Generic group explanation: This always
|
||||||
works, but the internally used group name (which
|
works, but the internally used group name (which
|
||||||
looks ugly) is exposed to the user. ]]
|
looks ugly) is exposed to the user. ]]
|
||||||
groupstr = "Any item belonging to the " .. g .. " group"
|
groupstr = "Any item belonging to the " .. groups[1] .. " group"
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
groupstr = "Any item belonging to the following groups: "
|
groupstr = "Any item belonging to the following groups: "
|
||||||
|
|
Loading…
Reference in a new issue