mcMMO-Dev / mcMMO

The RPG Lover's Mod!
https://mcmmo.org
GNU General Public License v3.0
1.01k stars 868 forks source link

Now firing events before changing durability #5071

Open Mowstyl opened 3 months ago

Mowstyl commented 3 months ago

By calling the PlayerItem(Damage|Mend)Event before setting the durability, plugins that handle the durability of items themselves (like any custom items plugin) won't break.