1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-04 22:54:44 +02:00
This commit is contained in:
nossr50
2020-06-26 15:04:03 -07:00
parent 6b340838ee
commit ed69f843aa
3 changed files with 3 additions and 2 deletions
Changelog.txtpom.xml
src/main/java/com/gmail/nossr50/skills/woodcutting

@ -221,6 +221,7 @@ public class WoodcuttingManager extends SkillManager {
}
// Call PlayerItemDamageEvent first to make sure it's not cancelled
//TODO: Put this event stuff in handleDurabilityChange
final PlayerItemDamageEvent event = new PlayerItemDamageEvent(player, inHand, durabilityLoss);
Bukkit.getPluginManager().callEvent(event);