diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index e48a58730..2dac945b9 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -20,6 +20,11 @@ MOB_CAP.passive = 10 MOB_CAP.ambient = 15 MOB_CAP.water = 15 +function mcl_mobs:feed_tame(...) return mobs:feed_tame(...) end +--function mcl_mobs:spawn_child(...) return end +function mcl_mobs:capture(...) return mobs:capture(...) end +function mcl_mobs:protect(...) return mobs:protect(...) end + -- Localize local S = minetest.get_translator("mcl_mobs") @@ -563,7 +568,7 @@ function mcl_mobs:register_egg(mob, desc, background, addegg, no_creative) end -- feeding, taming and breeding (thanks blert2112) -function mcl_mobs:feed_tame(self, clicker, feed_count, breed, tame, notake) +--[[]function mcl_mobs:feed_tame(self, clicker, feed_count, breed, tame, notake) if not self.follow then return false end @@ -632,7 +637,7 @@ function mcl_mobs:feed_tame(self, clicker, feed_count, breed, tame, notake) end return false end - +--]] -- Spawn a child function mcl_mobs:spawn_child(pos, mob_type) local child = minetest.add_entity(pos, mob_type)