mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Merge pull request #240 from matix931/patch-3
Update src/main/java/com/gmail/nossr50/skills/repair/Repair.java
This commit is contained in:
		@@ -114,7 +114,7 @@ public class Repair {
 | 
			
		||||
                int enchantLevel = enchant.getValue();
 | 
			
		||||
 | 
			
		||||
                if (configInstance.getArcaneForgingDowngradeEnabled() && enchantLevel > 1) {
 | 
			
		||||
                    if (random.nextInt(100) <= getDowngradeChance(rank)) {
 | 
			
		||||
                    if (random.nextInt(100) < getDowngradeChance(rank)) {
 | 
			
		||||
                        is.addEnchantment(enchantment, --enchantLevel);
 | 
			
		||||
                        downgraded = true;
 | 
			
		||||
                    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user