Skip to content

Fix MC-17876 on 1.21.11#636

Open
HaHaWTH wants to merge 1 commit intover/1.21.11from
fix/i-want-my-health-back
Open

Fix MC-17876 on 1.21.11#636
HaHaWTH wants to merge 1 commit intover/1.21.11from
fix/i-want-my-health-back

Conversation

@HaHaWTH
Copy link
Member

@HaHaWTH HaHaWTH commented Feb 9, 2026

Previous PR #576.

Fixed by temporarily bypassing the max health check during entity creation, less invasive than previous one.

To reproduce

Type command /item replace entity @s armor.head with iron_helmet[minecraft:attribute_modifiers=[ {id:"test",type:"max_health",amount:6,operation:"add_value"}]], quit the server after health regen, the extra health will lost upon rejoin without this fix.

@HaHaWTH HaHaWTH requested a review from Dreeam-qwq February 9, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant