diff --git a/src/main/java/com/gmail/nossr50/util/skills/SkillUtils.java b/src/main/java/com/gmail/nossr50/util/skills/SkillUtils.java index aefbe084e..69be9cddf 100644 --- a/src/main/java/com/gmail/nossr50/util/skills/SkillUtils.java +++ b/src/main/java/com/gmail/nossr50/util/skills/SkillUtils.java @@ -260,6 +260,7 @@ public final class SkillUtils { ExperienceOrb auxOrb = (ExperienceOrb) player.getWorld().spawnEntity(player.getLocation(), EntityType.EXPERIENCE_ORB); auxOrb.setExperience(damage / 2); PlayerItemMendEvent event = new PlayerItemMendEvent(player, itemStack, itemStack.getType().getEquipmentSlot(), auxOrb, damage); + Bukkit.getPluginManager().callEvent(event); if (!event.isCancelled() && event.getRepairAmount() != 0) { itemStack.setDurability((short) (itemStack.getDurability() - event.getRepairAmount())); }