diff --git a/src/main/java/com/gmail/nossr50/config/MainConfig.java b/src/main/java/com/gmail/nossr50/config/MainConfig.java index 36a3a891f..779998ae4 100644 --- a/src/main/java/com/gmail/nossr50/config/MainConfig.java +++ b/src/main/java/com/gmail/nossr50/config/MainConfig.java @@ -201,6 +201,7 @@ public class MainConfig extends ConfigValidated { public static final String LIGHTNING = "_Lightning"; public static final String GOLD_BLOCK = "GOLD_BLOCK"; public static final String PICKAXE = "_Pickaxe"; + public static final String EXP_SHARE_BONUS_BASE = "ExpShare_bonus_base"; public MainConfig() { //super(McmmoCore.getDataFolderPath().getAbsoluteFile(), "config.yml", true); @@ -848,7 +849,7 @@ public class MainConfig extends ConfigValidated { } public double getPartyShareBonusBase() { - return getDoubleValue(PARTY, SHARING_EXP_SHARE_BONUS_BASE); + return getDoubleValue(PARTY, SHARING, EXP_SHARE_BONUS_BASE); } public double getPartyShareBonusIncrease() { diff --git a/src/main/java/com/gmail/nossr50/util/StringUtils.java b/src/main/java/com/gmail/nossr50/util/StringUtils.java index 6de3dcf5a..6649fe0ee 100644 --- a/src/main/java/com/gmail/nossr50/util/StringUtils.java +++ b/src/main/java/com/gmail/nossr50/util/StringUtils.java @@ -27,7 +27,7 @@ public class StringUtils { */ public static String getEntityConfigName(EntityType entityType) { - return entityType.toString(); + return getCapitalized(entityType.toString()); } public static String getPrettyItemString(Material material) {