diff options
Diffstat (limited to 'mesecons_door')
-rw-r--r-- | mesecons_door/init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesecons_door/init.lua b/mesecons_door/init.lua index ae7ec48..a53852b 100644 --- a/mesecons_door/init.lua +++ b/mesecons_door/init.lua @@ -100,6 +100,7 @@ for i = 1, 4 do }, on_punch = mesecons_door_transform }) + mesecon:register_effector("mesecons_door:door_"..i.."_"..j, "mesecons_door:door_"..i.."_"..j) end end @@ -125,6 +126,7 @@ minetest.register_node("mesecons_door:door", { minetest.env:add_node(node_pos, {name = "mesecons_door:door_"..best_number.."_1"}) end }) +mesecon:register_effector("mesecons_door:door") minetest.register_on_placenode(function(pos, newnode, placer) local b_pos = {x = pos.x, y = pos.y - 1, z = pos.z} |