1
0
Fork 0

wolf when tamed will retain its health and not heal to full hp

This commit is contained in:
Sumyjkl 2022-07-20 18:14:19 +10:00 committed by cora
parent 3852c0297f
commit d8172e404e
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ local wolf = {
mcl_mobs:set_animation(ent, "sit")
ent.walk_chance = 0
ent.jump = false
ent.health = self.health
-- cornfirm taming
minetest.sound_play("mobs_mc_wolf_bark", {object=dog, max_hear_distance=16}, true)
-- Replace wolf