mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
2.1.130
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user