mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Update api.lua
This commit is contained in:
parent
a6eae1e95e
commit
cfb6b6003c
@ -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
|
||||
local consume_food = false
|
||||
|
||||
-- feed and tame
|
||||
-- tame if not still a baby
|
||||
|
||||
if tame and not self.child then
|
||||
if not self.owner or self.owner == "" then
|
||||
|
Loading…
Reference in New Issue
Block a user