Remove remaining frames.addVect
authorNovatux <nathanael.courant@laposte.net>
Thu, 17 Oct 2013 16:33:21 +0000 (18:33 +0200)
committerNovatux <nathanael.courant@laposte.net>
Thu, 17 Oct 2013 16:33:21 +0000 (18:33 +0200)
technic/machines/other/frames.lua

index 148e3f814c1f0b5a59af0bfc20e23ca04e1c2a93..df117dbdaf2dbb3042df6497f0df6a5b6a80fdd5 100644 (file)
@@ -61,7 +61,7 @@ end
 local function move_nodes_vect(poslist,vect,must_not_move,owner)
        if minetest.is_protected then
                for _,pos in ipairs(poslist) do
-                       local npos=frames.addVect(pos,vect)
+                       local npos=vector.add(pos,vect)
                        if minetest.is_protected(pos, owner) or minetest.is_protected(npos, owner) then
                                return
                        end