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

Call PlayerItemDamageEvent for tridents #11716

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

notTamion
Copy link
Contributor

fixes #11655
It also previously wasn't being called for the trident being thrown

@notTamion notTamion requested a review from a team as a code owner December 6, 2024 22:24
@Machine-Maker
Copy link
Member

Shouldn't this then mimic the behavior of #11555 where it's not called for non-positive damage. Then smth else needs to be added for "durability change" or something.

@notTamion
Copy link
Contributor Author

notTamion commented Dec 9, 2024

We should probably allow the item to break if the damage was changed using the API. Will look at that when i come home

@notTamion notTamion force-pushed the call-pide-trident branch 2 times, most recently from 04e4b97 to 9708554 Compare December 9, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Awaiting final testing
Development

Successfully merging this pull request may close these issues.

Riptiding does not call PlayerItemDamageEvent
4 participants