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

Cancelled EntityShootBowEvents/ProjectileLaunchEvents still consume arrows #12123

Open
notTamion opened this issue Feb 16, 2025 · 0 comments · May be fixed by #12124
Open

Cancelled EntityShootBowEvents/ProjectileLaunchEvents still consume arrows #12123

notTamion opened this issue Feb 16, 2025 · 0 comments · May be fixed by #12124
Labels
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

@notTamion
Copy link
Contributor

Expected behavior

Cancelling the events causes the arrow(s) to not be consumed

Observed/Actual behavior

The arrows are consumed anyways

Steps/models to reproduce

Cancel EntityShootBowEvents or ProjectileLaunchEvents and fire a bow or crossbow and observe your arrow stack count/the crossbow unloading without firing an arrow.

Plugin and Datapack List

only testing plugin

Paper version

1.21.4#152

Other

This happens because the arrow is already removed from the inventory/crossbow before the events are even called

@notTamion notTamion 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 labels Feb 16, 2025
@notTamion notTamion marked this as a duplicate of #9919 Feb 16, 2025
@notTamion notTamion marked this as a duplicate of #11113 Feb 16, 2025
@notTamion notTamion marked this as a duplicate of #10665 Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

1 participant