diff --git a/api/api.lua b/api/api.lua index 4eb4d3d..bd96936 100644 --- a/api/api.lua +++ b/api/api.lua @@ -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 ----------------------- diff --git a/api/behaviors.lua b/api/behaviors.lua index 08b39c3..c620b11 100644 --- a/api/behaviors.lua +++ b/api/behaviors.lua @@ -74,7 +74,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