Patch mcl_flowers for pickblock

This commit is contained in:
Mikita Wiśniewski 2024-08-01 09:43:17 +07:00
parent 02b24a9032
commit 718ceb25cf

View file

@ -383,7 +383,7 @@ local function add_large_plant(name, desc, longdesc, bottom_img, top_img, inv_im
end, end,
groups = bottom_groups, groups = bottom_groups,
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
mesh = mesh mesh = mesh,
}) })
local top_groups = table.copy(bottom_groups) local top_groups = table.copy(bottom_groups)
@ -421,6 +421,7 @@ local function add_large_plant(name, desc, longdesc, bottom_img, top_img, inv_im
end, end,
groups = top_groups, groups = top_groups,
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
_vl_pickblock = "mcl_flowers:"..name,
}) })
if minetest.get_modpath("doc") and longdesc then if minetest.get_modpath("doc") and longdesc then