Fix flower "top" part appearing after dig

This commit is contained in:
Wuzzy 2017-08-03 04:00:01 +02:00
parent b7a287124e
commit ffd9945f31

View file

@ -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,