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 /item_transport.lua | |
parent | b49428721a7c0e8ce445be7465f0d219cf55a61c (diff) |
update to use current mesecons API
requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer.
Diffstat (limited to 'item_transport.lua')
-rwxr-xr-x | item_transport.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/item_transport.lua b/item_transport.lua index cf2d828..8d5cc51 100755 --- a/item_transport.lua +++ b/item_transport.lua @@ -465,9 +465,9 @@ luaentity.register_entity("pipeworks:tubed_item", { }) if minetest.get_modpath("mesecons_mvps") then - mesecon:register_mvps_unmov("pipeworks:tubed_item") - mesecon:register_mvps_unmov("pipeworks:color_entity") - mesecon:register_on_mvps_move(function(moved_nodes) + mesecon.register_mvps_unmov("pipeworks:tubed_item") + mesecon.register_mvps_unmov("pipeworks:color_entity") + mesecon.register_on_mvps_move(function(moved_nodes) local moved = {} for _, n in ipairs(moved_nodes) do moved[minetest.hash_node_position(n.oldpos)] = vector.subtract(n.pos, n.oldpos) |