From ffd9945f310eebcfee3da6c5a0ee1234d11e4946 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 3 Aug 2017 04:00:01 +0200 Subject: [PATCH] Fix flower "top" part appearing after dig --- mods/ITEMS/mcl_flowers/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/ITEMS/mcl_flowers/init.lua b/mods/ITEMS/mcl_flowers/init.lua index 4f875876..d88cf133 100644 --- a/mods/ITEMS/mcl_flowers/init.lua +++ b/mods/ITEMS/mcl_flowers/init.lua @@ -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,