mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 09:31:07 +01:00
remove unnecessary check
This commit is contained in:
parent
120b096fc8
commit
e6a97031ef
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue