diff options
-rw-r--r-- | mesecons_pistons/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua index e5228d4..47956cc 100644 --- a/mesecons_pistons/init.lua +++ b/mesecons_pistons/init.lua @@ -216,6 +216,7 @@ minetest.register_node("mesecons_pistons:piston_sticky", { paramtype2 = "facedir", after_destruct = destruct, on_timer = timer, + is_sticky_piston = true, after_place_node = function(pos, placer) if not placer then --not placed by player return @@ -293,7 +294,6 @@ minetest.register_node("mesecons_pistons:piston_up_normal", { groups = {cracky=3, mesecon=2}, after_destruct = destruct, on_timer = timer, - is_sticky_piston = true, mesecons = {effector={ action_change = update }}, @@ -305,6 +305,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky", { groups = {cracky=3, mesecon=2}, after_destruct = destruct, on_timer = timer, + is_sticky_piston = true, mesecons = {effector={ action_change = update }}, |