PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
10.05k stars 2.34k forks source link

Riptiding does not call PlayerItemDamageEvent #11655

Open dawon opened 1 week ago

dawon commented 1 week ago

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

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

Strokkur424 commented 2 days ago

Yeah, I can replicate this. I will try to make a fix for it