mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
fix mcl_mobs api_changes
This commit is contained in:
parent
c0a9cb7020
commit
7bc63d2882
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue