Skip to content

Attribute modifiers don't reset after death 1.21.1 #11467

@FurrO2

Description

@FurrO2

Expected behavior

  1. the player have an attribute ( like this one for exemple : /attribute @p minecraft:generic.max_health modifier add 1 10 add_value
  2. the player died
  3. 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

  1. the player have an attribute ( like this one for exemple : /attribute @p minecraft:generic.max_health modifier add 1 10 add_value
  2. the player died
  3. the attribute still active ( and somes plugins are affected by that )

Steps/models to reproduce

how to make the bug:

  1. do that command: /attribute @p minecraft:generic.max_health modifier add 1 10 add_value
  2. play in gamemode survival and do some /kill @p
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.type: bugSomething doesn't work as it was intended to.upstream: spigotIssues exists in Spigot.version: 1.21.1Game version 1.21.1version: 1.21.11Game version 1.21.11

    Type

    Projects

    Status

    ✅ Accepted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions