mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Enchanted custom tools should now support Arcane Forging.
This commit is contained in:
@ -530,6 +530,11 @@ public class Repair {
|
||||
}
|
||||
|
||||
inventory.removeItem(repairMaterial);
|
||||
|
||||
if (configInstance.getArcaneForgingEnchantLossEnabled() && !permInstance.arcaneBypass(player)) {
|
||||
addEnchants(player, item);
|
||||
}
|
||||
|
||||
item.setDurability(newDurability);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user