mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Fix undeclared global warning in mcl_craftguide
This commit is contained in:
parent
3dcd986863
commit
73e8ee8a68
1 changed files with 1 additions and 0 deletions
|
@ -413,6 +413,7 @@ local function get_tooltip(item, groups, cooktime, burntime)
|
|||
local gcol = "#FFAAFF"
|
||||
if #groups == 1 then
|
||||
local g = group_names[groups[1]]
|
||||
local groupstr
|
||||
-- Treat the groups “compass” and “clock” as fake groups
|
||||
-- and just print the normal item name without special formatting
|
||||
if groups[1] == "compass" or groups[1] == "clock" then
|
||||
|
|
Loading…
Reference in a new issue