Health Overlay (Forge)

Health Overlay (Forge)

10M Downloads

Absorption bar renders negative

sargunv opened this issue ยท 1 comments

commented
  1. Eat a golden apple
  2. Take 2.5 hearts of damage
  3. The absorption bar now shows -0.5 hearts of absortption. It should be bounded at zero.

2019-05-19_13 37 20

commented

Should be fixed now, I forgot to divide by float instead of int in MathHelper#ceil