forked from rudzik8/mcl_decor
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:
parent
2111b67106
commit
1b28bc08eb
2
api.lua
2
api.lua
|
@ -11,7 +11,7 @@ mcl_decor.sit = function(pos, _, player)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
player:move_to(pos)
|
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)
|
player:set_physics_override(0, 0, 0)
|
||||||
mcl_player.player_attached[name] = true
|
mcl_player.player_attached[name] = true
|
||||||
minetest.after(0.1, function()
|
minetest.after(0.1, function()
|
||||||
|
|
Loading…
Reference in New Issue