In previous versions, applying a modifier would cause it to remain until manually removed with a command. Now (and in 1.21.9), the player dying also removes the attribute.
To reproduce:
run /attribute @s minecraft:max_health modifier add fun 5 add_value
run /kill @s
Max health will be reset to the base value.
Whatβs the last version this worked as you expected?
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support (Technical Issues) β π§ Microsoft Support (Account Issues)
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki