diff --git a/src/main/java/com/gmail/nossr50/skills/repair/Repair.java b/src/main/java/com/gmail/nossr50/skills/repair/Repair.java index 6cb640318..2c4d9922a 100644 --- a/src/main/java/com/gmail/nossr50/skills/repair/Repair.java +++ b/src/main/java/com/gmail/nossr50/skills/repair/Repair.java @@ -114,7 +114,7 @@ public class Repair { int enchantLevel = enchant.getValue(); if (configInstance.getArcaneForgingDowngradeEnabled() && enchantLevel > 1) { - if (random.nextInt(randomChance) <= getDowngradeChance(rank)) { + if (random.nextInt(100) <= getDowngradeChance(rank)) { is.addEnchantment(enchantment, --enchantLevel); downgraded = true; }