diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-11-22 13:55:54 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-11-22 13:55:54 -0500 |
commit | 28cef5e82f507377df9a29ff792e834a5b712c85 (patch) | |
tree | c776a196282b2497193aee7a6db9fab79cc081be /autoplace_tubes.lua | |
parent | b49428721a7c0e8ce445be7465f0d219cf55a61c (diff) |
update to use current mesecons API
requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer.
Diffstat (limited to 'autoplace_tubes.lua')
-rwxr-xr-x | autoplace_tubes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoplace_tubes.lua b/autoplace_tubes.lua index 42cf98b..b6ed8b7 100755 --- a/autoplace_tubes.lua +++ b/autoplace_tubes.lua @@ -120,7 +120,7 @@ minetest.register_on_dignode(function(pos, oldnode, digger) end) if minetest.get_modpath("mesecons_mvps") then - mesecon:register_on_mvps_move(function(moved_nodes) + mesecon.register_on_mvps_move(function(moved_nodes) for _, n in ipairs(moved_nodes) do pipeworks.scan_for_tube_objects(n.pos) pipeworks.scan_for_tube_objects(n.oldpos) |