From c6d6a2ce26f1027a7682e56b747a8c90d28ddc6c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 10 Mar 2020 05:44:52 +0100 Subject: [PATCH] Craftguide: Don't display burntime for groups --- mods/HELP/mcl_craftguide/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/HELP/mcl_craftguide/init.lua b/mods/HELP/mcl_craftguide/init.lua index 5c1b3a4f4b..5d9c233599 100644 --- a/mods/HELP/mcl_craftguide/init.lua +++ b/mods/HELP/mcl_craftguide/init.lua @@ -444,12 +444,12 @@ local function get_tooltip(item, groups, cooktime, burntime) tooltip = reg_items[item].description end - if cooktime then + if not groups and cooktime then tooltip = tooltip .. "\n" .. S("Cooking time: @1", colorize("yellow", cooktime)) end - if burntime then + if not groups and burntime then tooltip = tooltip .. "\n" .. S("Burning time: @1", colorize("yellow", burntime)) end