Remove remaining frames.addVect

This commit is contained in:
Novatux 2013-10-17 18:33:21 +02:00
parent a73d568e58
commit 66e4b5ede4

View 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