remove unnecessary check

This commit is contained in:
SumianVoice 2022-07-19 14:26:58 +10:00 committed by cora
parent a1666dd3cd
commit a89f76563c
1 changed files with 1 additions and 1 deletions

View File

@ -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)