diff --git a/api/api.lua b/api/api.lua index 7d5cffd..a74fa68 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 d711cd9..f065b69 100644 --- a/api/behaviors.lua +++ b/api/behaviors.lua @@ -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