fix(#31): fix mcl compatibility crash

This commit is contained in:
f3d0ss 2022-11-10 21:57:16 +01:00
parent 21ad5faf7d
commit adafd0d996
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ if minetest.get_modpath("default")
and minetest.get_modpath("player_api") then
animate_player = player_api.set_animation
elseif minetest.get_modpath("mcl_player") then
animate_player = mcl_player.set_animation
animate_player = mcl_player.player_set_animation
end
-----------------------

View file

@ -73,7 +73,7 @@ if minetest.get_modpath("default")
and minetest.get_modpath("player_api") then
animate_player = player_api.set_animation
elseif minetest.get_modpath("mcl_player") then
animate_player = mcl_player.set_animation
animate_player = mcl_player.player_set_animation
end
local get_collision = creatura.get_collision