diff --git a/src/main/java/com/gmail/nossr50/skills/Repair.java b/src/main/java/com/gmail/nossr50/skills/Repair.java index 19fc55137..acd026bab 100644 --- a/src/main/java/com/gmail/nossr50/skills/Repair.java +++ b/src/main/java/com/gmail/nossr50/skills/Repair.java @@ -315,7 +315,7 @@ public class Repair { if(rank == 0) { - if(LoadProperties.mayLoseEnchants()) + if(LoadProperties.mayLoseEnchants) { player.sendMessage(mcLocale.getString("Repair.LostEnchants")); for(Enchantment x : enchants) @@ -328,7 +328,7 @@ public class Repair { boolean failure = false, downgrade = false; - if(LoadProperties.mayLoseEnchants()) + if(LoadProperties.mayLoseEnchants) { for(Enchantment x : enchants) { @@ -341,7 +341,7 @@ public class Repair { { if(enchantsLvl[pos] > 1) { - if(LoadProperties.mayDowngradeEnchants()) + if(LoadProperties.mayDowngradeEnchants) { if(Math.random() * 100 <= getDowngradeChance(rank)) { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index ba0c9f067..56d786bb7 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: mcMMO main: com.gmail.nossr50.mcMMO -version: 1.2.08 +version: 1.2.09-dev softdepend: [Spout] author: TheYeti description: mcMMO takes core Minecraft game mechanics and expands them to add an extensive RPG experience, the goal of the project has always been a quality RPG experience. Everything in mcMMO is carefully thought out and is constantly improving. mcMMO adds eleven skills to train in and level in, while also offering a high level of customization for server admins. There are countless features, including custom sounds, graphical elements, and more added when running mcMMO in conjunction with Spout. I carefully read feedback and evaluate the mechanics of mcMMO in every update to provide an ever-evolving experience.