Paper
Paper copied to clipboard
Riptiding does not call PlayerItemDamageEvent
Expected behavior
When player riptides using Riptide enchanted trident, PlayerItemDamageEvent should be called (and its cancellation should prevent damaging the item)
Observed/Actual behavior
The PlayerItemDamageEvent is not called when riptiding.
Steps/models to reproduce
- get yourself Riptide enchanted Trident
- try to cancel PlayerItemDamageEvent using a plugin
- the event won't be called and trident will get damage
Plugin and Datapack List
only the test plugin
Paper version
[00:09:43 INFO]: This server is running Paper version 1.21.3-56-master@bb32b05 (2024-11-23T22:23:12Z) (Implementing API version 1.21.3-R0.1-SNAPSHOT) You are running the latest version Previous version: 1.21.3-46-f8e2a67 (MC: 1.21.3)
Other
No response
Yeah, I can replicate this. I will try to make a fix for it