Fix deprecated call to player:get_look_pitch()

Fixes #53
This commit is contained in:
wsor4035 2023-01-08 21:51:49 -05:00 committed by GitHub
parent 855937aec3
commit b0b675f715
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -35,7 +35,7 @@ function pipeworks.rotate_on_place(itemstack, placer, pointed_thing)
else
local pitch = placer:get_look_pitch()
local pitch = -placer:get_look_vertical()
local above = pointed_thing.above
local under = pointed_thing.under
local fdir = minetest.dir_to_facedir(placer:get_look_dir())