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

Riptiding does not call PlayerItemDamageEvent #11655

Open
dawon opened this issue Nov 23, 2024 · 1 comment · May be fixed by #11716
Open

Riptiding does not call PlayerItemDamageEvent #11655

dawon opened this issue Nov 23, 2024 · 1 comment · May be fixed by #11716
Labels
status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. version: 1.21.3 Game version 1.21.3

Comments

@dawon
Copy link
Contributor

dawon commented Nov 23, 2024

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

@papermc-sniffer papermc-sniffer bot added the version: 1.21.3 Game version 1.21.3 label Nov 23, 2024
@lynxplay lynxplay added status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. and removed status: needs triage labels Nov 23, 2024
@Strokkur424
Copy link

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

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.3 Game version 1.21.3
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants