summaryrefslogtreecommitdiff
path: root/autoplace_tubes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'autoplace_tubes.lua')
-rw-r--r--autoplace_tubes.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/autoplace_tubes.lua b/autoplace_tubes.lua
index 1d4732a..280bd60 100644
--- a/autoplace_tubes.lua
+++ b/autoplace_tubes.lua
@@ -103,6 +103,14 @@ function pipeworks.scan_for_tube_objects(pos)
end
end
+function pipeworks.after_place(pos)
+ pipeworks.scan_for_tube_objects(pos)
+end
+
+function pipeworks.after_dig(pos)
+ pipeworks.scan_for_tube_objects(pos)
+end
+
if minetest.get_modpath("mesecons_mvps") then
mesecon.register_on_mvps_move(function(moved_nodes)
for _, n in ipairs(moved_nodes) do