1
0
Fork 0

remove unnecessary check

wood_api
SumianVoice 2022-07-19 14:26:58 +10:00 committed by cora
parent 120b096fc8
commit e6a97031ef
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)