mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-07 06:06:10 -04:00
Replace deprecated function calls
This commit is contained in:
parent
0df2753a68
commit
255031fc91
12 changed files with 51 additions and 51 deletions
|
@ -23,7 +23,7 @@ local function rotate_and_place(itemstack, placer, pointed_thing)
|
|||
local param2 = 0
|
||||
|
||||
if placer then
|
||||
local placer_pos = placer:getpos()
|
||||
local placer_pos = placer:get_pos()
|
||||
if placer_pos then
|
||||
param2 = minetest.dir_to_facedir(vector.subtract(p1, placer_pos))
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue