forked from MineClone5/MineClone5
Fix flower "top" part appearing after dig
This commit is contained in:
parent
b7a287124e
commit
ffd9945f31
|
@ -140,6 +140,9 @@ local function add_large_plant(name, desc, longdesc, bottom_img, top_img, inv_im
|
||||||
flowergroup = 1
|
flowergroup = 1
|
||||||
usagehelp = flowerusagehelp
|
usagehelp = flowerusagehelp
|
||||||
end
|
end
|
||||||
|
if not drop then
|
||||||
|
drop = "mcl_flowers:"..name
|
||||||
|
end
|
||||||
minetest.register_node("mcl_flowers:"..name, {
|
minetest.register_node("mcl_flowers:"..name, {
|
||||||
description = desc,
|
description = desc,
|
||||||
_doc_items_longdesc = longdesc,
|
_doc_items_longdesc = longdesc,
|
||||||
|
|
Loading…
Reference in New Issue