Small fixes

This commit is contained in:
ElCeejo 2022-09-28 15:11:17 -07:00
parent 0af4c2ba24
commit 7b3d55fef8
2 changed files with 6 additions and 6 deletions

View file

@ -1167,7 +1167,7 @@ function mob:_vitals()
if on_ground then
damage = fall_start - pos.y
if damage < max_fall then
damage = nil
damage = 0
else
local resist = self.fall_resistance or 0
damage = damage - damage * resist