fix typo making sit work
This commit is contained in:
parent
729ef6e2b0
commit
46a74a4d9b
2
init.lua
2
init.lua
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue