mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Replace deprecated use of vector.new
with copy
This commit is contained in:
parent
0e63f18a73
commit
b15393c2a5
@ -5,8 +5,8 @@ local builtin_shared = ...
|
||||
local function copy_pointed_thing(pointed_thing)
|
||||
return {
|
||||
type = pointed_thing.type,
|
||||
above = vector.new(pointed_thing.above),
|
||||
under = vector.new(pointed_thing.under),
|
||||
above = vector.copy(pointed_thing.above),
|
||||
under = vector.copy(pointed_thing.under),
|
||||
ref = pointed_thing.ref,
|
||||
}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user