From 1b28bc08eb7830306da59d6268f7cafa7b734b7c Mon Sep 17 00:00:00 2001 From: rudzik8 Date: Fri, 25 Feb 2022 18:45:52 +0700 Subject: [PATCH] Remove Z eye offset when sitting on the chair now it feels a bit better when you're moving your head to the back... i guess --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.lua b/api.lua index 3d9e19c..675308a 100644 --- a/api.lua +++ b/api.lua @@ -11,7 +11,7 @@ mcl_decor.sit = function(pos, _, player) return end player:move_to(pos) - player:set_eye_offset({x = 0, y = -7, z = 2}, {x = 0, y = 0, z = 0}) + player:set_eye_offset({x = 0, y = -7, z = 0}, {x = 0, y = 0, z = 0}) player:set_physics_override(0, 0, 0) mcl_player.player_attached[name] = true minetest.after(0.1, function()