Fix issue #3
This commit is contained in:
parent
d19eecee77
commit
7c3d86b807
6
init.lua
6
init.lua
@ -20,7 +20,11 @@ if ts_furniture.enable_sitting then
|
||||
player:set_eye_offset({x = 0, y = -7, z = 2}, {x = 0, y = 0, z = 0})
|
||||
player:set_physics_override(0, 0, 0)
|
||||
player_api.player_attached[name] = true
|
||||
player_api.set_animation(player, "sit", 30)
|
||||
minetest.after(0.1, function()
|
||||
if player then
|
||||
player_api.set_animation(player, "sit" , 30)
|
||||
end
|
||||
end)
|
||||
else
|
||||
ts_furniture.stand(player, name)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user