From 0c02551769bf16f87e55d77ee9847365e7a0e686 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 22 Feb 2017 15:16:57 +0100 Subject: [PATCH] Fix crash in craftguide w/ unknown group --- mods/HUD/mcl_craftguide/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/HUD/mcl_craftguide/init.lua b/mods/HUD/mcl_craftguide/init.lua index ba921c725..08841a697 100644 --- a/mods/HUD/mcl_craftguide/init.lua +++ b/mods/HUD/mcl_craftguide/init.lua @@ -145,7 +145,7 @@ function craftguide:get_tooltip_raw(item, recipe_type, cooktime, groups) --[[ Fallback: Generic group explanation: This always works, but the internally used group name (which 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 else groupstr = "Any item belonging to the following groups: "