Open Zedrimar opened 9 years ago
I'll be rewriting the health code (Which will take awhile) since there are some major bugs with the current version. I have a good idea what is causing the random damage, and only a rewrite will fix it, it isn't an easy fix.
I do notice this with other mods too, especially things like potion effects, I think its partly a vanilla MC bug
This has been reported at the MCF page too however I just wanna touch up on the issue:
Some how some way, minecraft keeps giving the "hearts given from heart containers" a negative number, thus when you have no hearts given from heart containers, the number goes down in the negatives which makes the lost health nearly unrecoverable unless the player relogs. Even once one gets health from heart containers, the number "Given" slowly goes down so once someone takes damage those hearts don't come back. the "random damage" does not happen though as long as the "hearts from containers" is more than 0. The max health thing is what keeps the heart shadows, thats why even when the health is "unrecoverable" the heart shadows stay.
First image, no heart containers were used, the number went down by itself second image, 4 heart containers were used to displace the negative number, it still goes down slowly.
Tested with JUST more health advanced to test the glitch
P.S. I reported the same issue on the MCF page and didn't know which is more convenient so yeah... sorry 'bout that!