Cheos137 / ArmorpointsPlusplus

A light-weight mod overhauling vanilla ui components
https://modrinth.com/mod/armorpoints
MIT License
2 stars 2 forks source link

[Bug]: max health below 20 still draws heart borders #20

Closed Cheos137 closed 2 years ago

Cheos137 commented 2 years ago

Is there an existing issue for this?

Description

When having a maximum health below 20, all heart borders are drawn. However, vanilla doesn't draw unnecessary heart borders - and as this mod tries to follow vanilla behavior as closely as possible, this should be corrected. Though, a config option should be added to re-enable the current behavior.

Version

Other (this list is not up to date - again...)

Version

3.0.0 for all supported minecraft versions

To Reproduce

reduce max-health to a value below 20 (19 is not really useful for testing, too)

Expexted Behavior

Unnecessary heart borders are not drawn.

Additional Context

No response

Screenshots

No response

Relevant Log / Crash-Report Output

No response