diff options
-rw-r--r-- | autoplace_tubes.lua | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/autoplace_tubes.lua b/autoplace_tubes.lua index b6ed8b7..1d4732a 100644 --- a/autoplace_tubes.lua +++ b/autoplace_tubes.lua @@ -103,22 +103,6 @@ function pipeworks.scan_for_tube_objects(pos) end end -minetest.register_on_placenode(function(pos, newnode, placer, oldnode, itemstack) - if minetest.registered_items[newnode.name] - and minetest.registered_items[newnode.name].tube - and minetest.registered_items[newnode.name].tube.connect_sides then - pipeworks.scan_for_tube_objects(pos) - end -end) - -minetest.register_on_dignode(function(pos, oldnode, digger) - if minetest.registered_items[oldnode.name] - and minetest.registered_items[oldnode.name].tube - and minetest.registered_items[oldnode.name].tube.connect_sides then - pipeworks.scan_for_tube_objects(pos) - end -end) - if minetest.get_modpath("mesecons_mvps") then mesecon.register_on_mvps_move(function(moved_nodes) for _, n in ipairs(moved_nodes) do |