mirror of
https://github.com/ElCeejo/animalia.git
synced 2025-07-19 12:44:58 -04:00
Fixes
This commit is contained in:
parent
325dc1609a
commit
9d6f242871
3 changed files with 22 additions and 9 deletions
|
@ -533,10 +533,8 @@ function animalia.mount(self, player, params)
|
|||
self.rider = nil
|
||||
return
|
||||
end
|
||||
if player_api then
|
||||
player_api.player_attached[player:get_player_name()] = true
|
||||
end
|
||||
if minetest.get_modpath("player_api") then
|
||||
player_api.player_attached[player:get_player_name()] = true
|
||||
animate_player(player, "sit", 30)
|
||||
end
|
||||
self.rider = player
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue