forked from VoxeLibre/VoxeLibre
[mcl_craftguide] fix warnings
This commit is contained in:
parent
ce9258b764
commit
c19c05443e
|
@ -417,9 +417,9 @@ local function get_tooltip(item, groups, cooktime, burntime)
|
||||||
-- and just print the normal item name without special formatting
|
-- and just print the normal item name without special formatting
|
||||||
if groups[1] == "compass" or groups[1] == "clock" then
|
if groups[1] == "compass" or groups[1] == "clock" then
|
||||||
groupstr = reg_items[item].description
|
groupstr = reg_items[item].description
|
||||||
elseif group_names[groups[1]] then
|
elseif g then
|
||||||
-- Use the special group name string
|
-- Use the special group name string
|
||||||
groupstr = minetest.colorize(gcol, group_names[groups[1]])
|
groupstr = minetest.colorize(gcol, g)
|
||||||
else
|
else
|
||||||
--[[ 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
|
||||||
|
|
Loading…
Reference in New Issue