mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-17 21:23:44 +01:00
Update api.lua
This commit is contained in:
@ -4369,7 +4369,7 @@ function mcl_mobs:feed_tame(self, clicker, feed_count, breed, tame, notake)
|
|||||||
if self.nofollow or follow_holding(self, clicker) then
|
if self.nofollow or follow_holding(self, clicker) then
|
||||||
local consume_food = false
|
local consume_food = false
|
||||||
|
|
||||||
-- feed and tame
|
-- tame if not still a baby
|
||||||
|
|
||||||
if tame and not self.child then
|
if tame and not self.child then
|
||||||
if not self.owner or self.owner == "" then
|
if not self.owner or self.owner == "" then
|
||||||
|
Reference in New Issue
Block a user