From 7bc63d2882fa3123d817be54a471aef126b6e854 Mon Sep 17 00:00:00 2001 From: cora Date: Sat, 28 May 2022 00:06:29 +0200 Subject: [PATCH] fix mcl_mobs api_changes --- mods/ENTITIES/mobs_mc/parrot.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/parrot.lua b/mods/ENTITIES/mobs_mc/parrot.lua index b4a91ba5b..84b3aaead 100644 --- a/mods/ENTITIES/mobs_mc/parrot.lua +++ b/mods/ENTITIES/mobs_mc/parrot.lua @@ -40,7 +40,7 @@ local function perch(self,player) local shoulder = get_shoulder(player) if not shoulder then return true end self.object:set_attach(player,"",shoulder,vector.new(0,0,0),true) - mobs:set_animation(self, "stand") + mcl_mobs:set_animation(self, "stand") end end @@ -154,7 +154,7 @@ mcl_mobs:register_mob("mobs_mc:parrot", { return end -- Feed to tame, but not breed - if mobs:feed_tame(self, clicker, 1, false, true) then return end + if mcl_mobs:feed_tame(self, clicker, 1, false, true) then return end perch(self,clicker) end, do_custom = function(self,dtime)