Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Call PlayerItemDamageEvent for tridents

Open notTamion opened this issue 1 year ago • 2 comments

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

notTamion avatar Dec 06 '24 22:12 notTamion

Shouldn't this then mimic the behavior of https://github.com/PaperMC/Paper/pull/11555 where it's not called for non-positive damage. Then smth else needs to be added for "durability change" or something.

Machine-Maker avatar Dec 07 '24 17:12 Machine-Maker

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 avatar Dec 09 '24 05:12 notTamion