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
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