From b7589f538999cb1e259e8380f694c7b57df1e4fa Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 10 Feb 2017 21:50:31 +0100 Subject: [PATCH] Make flower pots attached --- mods/mcl_flowerpots/nodes.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/mcl_flowerpots/nodes.lua b/mods/mcl_flowerpots/nodes.lua index d61d857175..d78f7d3c78 100644 --- a/mods/mcl_flowerpots/nodes.lua +++ b/mods/mcl_flowerpots/nodes.lua @@ -47,7 +47,7 @@ minetest.register_node("mcl_flowerpots:flower_pot", { fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2} }, inventory_image = "mcl_flowerpots_flowerpot_inventory.png", - groups = {dig_immediate=3,deco_block=1}, + groups = {dig_immediate=3,deco_block=1,attached_node=1}, sounds = mcl_core.node_sound_stone_defaults(), on_rightclick = function(pos, node, clicker, itemstack) local item = clicker:get_wielded_item():get_name() @@ -102,7 +102,7 @@ minetest.register_node("mcl_flowerpots:flower_pot_"..flower, { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2} }, - groups = {dig_immediate=3, not_in_creative_inventory=1}, + groups = {dig_immediate=3, attached_node=1,not_in_creative_inventory=1}, sounds = mcl_core.node_sound_stone_defaults(), on_rightclick = function(pos, item, clicker) minetest.add_item({x=pos.x, y=pos.y+0.5, z=pos.z}, flower_node) @@ -138,7 +138,7 @@ minetest.register_node("mcl_flowerpots:flower_pot_"..flower, { type = "fixed", fixed = {-0.2, -0.5, -0.2, 0.2, -0.1, 0.2} }, - groups = {dig_immediate=3, not_in_creative_inventory=1}, + groups = {dig_immediate=3, attached_node=1,not_in_creative_inventory=1}, sounds = mcl_core.node_sound_stone_defaults(), on_rightclick = function(pos, item, clicker) minetest.add_item({x=pos.x, y=pos.y+0.5, z=pos.z}, flower_node)