Skip to content

Call PlayerItemDamageEvent for tridents#11716

Closed
notTamion wants to merge 3 commits intoPaperMC:masterfrom
notTamion:call-pide-trident
Closed

Call PlayerItemDamageEvent for tridents#11716
notTamion wants to merge 3 commits intoPaperMC:masterfrom
notTamion:call-pide-trident

Conversation

@notTamion
Copy link
Contributor

@notTamion notTamion commented Dec 6, 2024

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

post hardfork #11899

@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: Closed

Development

Successfully merging this pull request may close these issues.

Riptiding does not call PlayerItemDamageEvent

4 participants