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

View File

@ -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);