Update api.lua

This commit is contained in:
SumianVoice 2022-07-19 15:33:13 +10:00 committed by cora
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 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