0
0
Fork 0

Fix undeclared global warning in mcl_craftguide

This commit is contained in:
Wuzzy 2020-01-18 04:48:07 +01:00
parent 3dcd986863
commit 73e8ee8a68
1 changed files with 1 additions and 0 deletions

View File

@ -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