ichttt / FirstAid

A Minecraft Mod that changes the vanilla health system
GNU General Public License v3.0
29 stars 28 forks source link

[1.9.6] MIN_CRITICAL config takes minimum of all limbs and not minimum of critical limbs #130

Closed lunafoxfire closed 3 years ago

lunafoxfire commented 3 years ago

Setting vanillaHealthCalculation = "MIN_CRITICAL" in firstaid-server.toml should calculate the healthbar based on the most damaged critical limb, but instead it calculates health based on the minimum of all limbs. Should be a one-line fix in PlayerDamageModel.java so I can try to submit a PR in a bit to fix it.