diff --git a/init.lua b/init.lua index dc9e219..30e9d85 100644 --- a/init.lua +++ b/init.lua @@ -38,7 +38,7 @@ local function extract_groups(str) end local function colorize(str) - return minetest.colorize("#FFFF00", str) + return minetest.colorize and minetest.colorize("#FFFF00", str) or str end function craftguide:get_tooltip(item, recipe_type, cooktime, groups)