From eb6197c2bde2a0c4fc53e3e8ed054fbefb6a1c19 Mon Sep 17 00:00:00 2001 From: unknown <24964441+wsor4035@users.noreply.github.com> Date: Sun, 8 Jan 2023 19:45:00 -0500 Subject: [PATCH] fixes https://github.com/mt-mods/pipeworks/issues/53 --- devices.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices.lua b/devices.lua index 9a08a3c..d8ac35b 100644 --- a/devices.lua +++ b/devices.lua @@ -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())