mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Craftguide: Don't display burntime for groups
This commit is contained in:
parent
81fd3fad40
commit
c6d6a2ce26
1 changed files with 2 additions and 2 deletions
|
@ -444,12 +444,12 @@ local function get_tooltip(item, groups, cooktime, burntime)
|
||||||
tooltip = reg_items[item].description
|
tooltip = reg_items[item].description
|
||||||
end
|
end
|
||||||
|
|
||||||
if cooktime then
|
if not groups and cooktime then
|
||||||
tooltip = tooltip .. "\n" ..
|
tooltip = tooltip .. "\n" ..
|
||||||
S("Cooking time: @1", colorize("yellow", cooktime))
|
S("Cooking time: @1", colorize("yellow", cooktime))
|
||||||
end
|
end
|
||||||
|
|
||||||
if burntime then
|
if not groups and burntime then
|
||||||
tooltip = tooltip .. "\n" ..
|
tooltip = tooltip .. "\n" ..
|
||||||
S("Burning time: @1", colorize("yellow", burntime))
|
S("Burning time: @1", colorize("yellow", burntime))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue