mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 02:42:25 +01:00
Craftguide: Don't display burntime for groups
This commit is contained in:
parent
81fd3fad40
commit
c6d6a2ce26
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user