mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
Fix flower "top" part appearing after dig
This commit is contained in:
parent
b7a287124e
commit
ffd9945f31
1 changed files with 3 additions and 0 deletions
|
@ -140,6 +140,9 @@ local function add_large_plant(name, desc, longdesc, bottom_img, top_img, inv_im
|
|||
flowergroup = 1
|
||||
usagehelp = flowerusagehelp
|
||||
end
|
||||
if not drop then
|
||||
drop = "mcl_flowers:"..name
|
||||
end
|
||||
minetest.register_node("mcl_flowers:"..name, {
|
||||
description = desc,
|
||||
_doc_items_longdesc = longdesc,
|
||||
|
|
Loading…
Reference in a new issue