PurpurMC / Purpur

Purpur is a drop-in replacement for Paper servers designed for configurability, and new fun and exciting gameplay features.
https://purpurmc.org
MIT License
1.94k stars 355 forks source link

AttributeModfiers is not removed when the player dies #1512

Closed huimanman closed 2 months ago

huimanman commented 2 months ago

Spark link

https://spark.lucko.me/NnlzCaOpaP

Expected behavior

All modifiers added by /attribute are removed upon death

Observed/Actual behavior

The modifiers added by /attribute to still exist after rebirth

Steps/models to reproduce

  1. run /attribute @s minecraft:generic.armor modifier add 1-0-0-0-0 "" 1 add_value
  2. run /attribute @s minecraft:generic.armor modifier value get 1-0-0-0-0
  3. run /kill @s
  4. Respawn
  5. Run again /attribute @s minecraft:generic.armor modifier value get 1-0-0-0-0

Purpur version

Current: git-Purpur-2193 (MC: 1.20.6)*

Agreements

Other

No response

granny commented 2 months ago

I am able to reproduce this issue on paper. Please pass this along to their issue tracker.