fix mcl_mobs api_changes

This commit is contained in:
cora 2022-05-28 00:06:29 +02:00
parent c0a9cb7020
commit 7bc63d2882
1 changed files with 2 additions and 2 deletions

View File

@ -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)