From e6a97031ef60ebb4de4b68eb9071b8679abb4cfa Mon Sep 17 00:00:00 2001 From: SumianVoice Date: Tue, 19 Jul 2022 14:26:58 +1000 Subject: [PATCH] remove unnecessary check --- mods/ENTITIES/mcl_mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 430bc0e25..39c10e561 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -4371,7 +4371,7 @@ function mcl_mobs:feed_tame(self, clicker, feed_count, breed, tame, notake) -- increase health - if not consume_food and self.health < self.hp_max then + if self.health < self.hp_max then consume_food = true self.health = min(self.health + 4, self.hp_max)