Paper
Paper copied to clipboard
Attribute modifiers don't reset after death 1.21.1
Expected behavior
- the player have an attribute ( like this one for exemple : /attribute @p minecraft:generic.max_health modifier add 1 10 add_value
- the player died
- the attribute is reset because in this case, the attribute is not the Base attribute
here an exemple of vanilla 1.21.1
https://youtu.be/hHGpRTtGZJA
Observed/Actual behavior
- the player have an attribute ( like this one for exemple : /attribute @p minecraft:generic.max_health modifier add 1 10 add_value
- the player died
- the attribute still active ( and somes plugins are affected by that )
Steps/models to reproduce
how to make the bug:
- do that command: /attribute @p minecraft:generic.max_health modifier add 1 10 add_value
- play in gamemode survival and do some /kill @p
- the generic.max_health modifier is not reset and that is the bug
Plugin and Datapack List
no plugins
Paper version
This server is running Paper version 1.21.1-119-master@7cd4f2c (2024-10-03T15:19:34Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
Other
No response
Worth mentioning, 24w20a fixed base values not being copied on death, attribute modifiers should still be reset on death to be like in vanilla
~~https://minecraft.wiki/w/Java_Edition_24w33a 1.21.2 snapshot, also changes this further...~~ actually, this is a non factor, this only affects living respawns, something spigot basically opted us out of