fix typo making sit work

This commit is contained in:
cora 2021-08-24 05:22:48 +02:00
parent 729ef6e2b0
commit 46a74a4d9b
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
player:setpos({x=p.x, y=p.y + 1, z=p.z})
end)
elseif fields.animation_sit then
--mcl_player:player_set_animation(player, "sit", 30)
mcl_player.player_set_animation(player, "sit", 30)
entity.animation = "sit"
elseif fields.animation_stand then
mcl_player.player_set_animation(player, "stand", 30)