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
This commit is contained in:
Mikita Wiśniewski 2022-02-25 18:45:52 +07:00
parent 2111b67106
commit 1b28bc08eb
1 changed files with 1 additions and 1 deletions

View File

@ -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()