mirror of
https://github.com/minetest-mods/technic.git
synced 2024-09-12 08:18:30 +02: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)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user