Skip to content

Cancelling EntityDeathEvent for an Armorstand Loses Items #12286

@Owen1212055

Description

@Owen1212055

Expected behavior

When in survival mode, I expect the armorstand to not lose their items when killing the armorstand with the event cancelled.

Observed/Actual behavior

The items get deleted.

Steps/models to reproduce

@EventHandler
   public void killEvent(EntityDeathEvent event) {
       event.setCancelled(true);
   }

Plugin and Datapack List

N/A

Paper version

1.21.4

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: apistatus: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.version: 1.21.4Game version 1.21.4

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions