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