Gunivers/Bookshelf

Improve health module

Closed this issue · 0 comments

Todo

  • Add health and max health getters. We need them because the health nbt of the player is not always in sync with the real value.
  • Call the update method only when the health score is higher than 1 or lower than -1, instead of when the score is defined. This way we avoid unnecessary calls when the score is 0.