mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-15 23:10:41 +01:00
Remove remaining frames.addVect
This commit is contained in:
parent
a73d568e58
commit
66e4b5ede4
|
@ -61,7 +61,7 @@ end
|
||||||
local function move_nodes_vect(poslist,vect,must_not_move,owner)
|
local function move_nodes_vect(poslist,vect,must_not_move,owner)
|
||||||
if minetest.is_protected then
|
if minetest.is_protected then
|
||||||
for _,pos in ipairs(poslist) do
|
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
|
if minetest.is_protected(pos, owner) or minetest.is_protected(npos, owner) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user