Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancelling EntityDeathEvent for an Armorstand Loses Items #12286

Open
Owen1212055 opened this issue Mar 13, 2025 · 1 comment · May be fixed by #12288
Open

Cancelling EntityDeathEvent for an Armorstand Loses Items #12286

Owen1212055 opened this issue Mar 13, 2025 · 1 comment · May be fixed by #12288
Labels
scope: api status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. version: 1.21.4 Game version 1.21.4

Comments

@Owen1212055
Copy link
Member

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

@Doc94
Copy link
Contributor

Doc94 commented Mar 14, 2025

Not totally related but...
Image

@Lulu13022002 Lulu13022002 added status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. version: 1.21.4 Game version 1.21.4 scope: api labels Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: api status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. version: 1.21.4 Game version 1.21.4
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants