From f6bef9e5f43beb33b571e4b38bacff63bd94011a Mon Sep 17 00:00:00 2001 From: Harry Date: Thu, 30 Oct 2014 23:48:03 +0000 Subject: [PATCH] Fix a very old bug where mcMMO does not read the config correctly, This should be "DamageModifier" not "DamagerModifier.". As seen here https://github.com/mcMMO-Dev/mcMMO/blob/dbc7b98b0d2d7793c20b6dd1e5ee2ac7aadc8fd2/src/main/resources/advanced.yml#L140 . Thanks to @matagin for pointing this out. --- src/main/java/com/gmail/nossr50/config/AdvancedConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/AdvancedConfig.java b/src/main/java/com/gmail/nossr50/config/AdvancedConfig.java index 88b844331..0469583ef 100644 --- a/src/main/java/com/gmail/nossr50/config/AdvancedConfig.java +++ b/src/main/java/com/gmail/nossr50/config/AdvancedConfig.java @@ -200,7 +200,7 @@ public class AdvancedConfig extends AutoUpdateConfigLoader { } if (getSkullSplitterModifier() < 1) { - reason.add("Skills.Axes.SkullSplitter.DamagerModifier should be at least 1!"); + reason.add("Skills.Axes.SkullSplitter.DamageModifier should be at least 1!"); } /* FISHING */ @@ -733,7 +733,7 @@ public class AdvancedConfig extends AutoUpdateConfigLoader { public double getImpactChance() { return config.getDouble("Skills.Axes.ArmorImpact.Chance", 25.0D); } public double getArmorImpactMaxDurabilityDamage() { return config.getDouble("Skills.Axes.ArmorImpact.MaxPercentageDurabilityDamage", 20.0D); } - public double getSkullSplitterModifier() { return config.getDouble("Skills.Axes.SkullSplitter.DamagerModifier", 2.0D); } + public double getSkullSplitterModifier() { return config.getDouble("Skills.Axes.SkullSplitter.DamageModifier", 2.0D); } /* EXCAVATION */ //Nothing to configure, everything is already configurable in config.yml