From bbd43e156a0f4b77af92ab8fbc03a0dbd1ce03cb Mon Sep 17 00:00:00 2001 From: nossr50 Date: Mon, 15 Apr 2019 20:14:29 -0700 Subject: [PATCH] Fixing some mistakes in default values for Repair --- .../config/hocon/experience/ConfigExperienceRepair.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceRepair.java b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceRepair.java index 0cfe7d98b..f4cf9edff 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceRepair.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceRepair.java @@ -25,6 +25,9 @@ public class ConfigExperienceRepair { ITEM_MATERIAL_XP_MULTIPLIER_DEFAULT.put(ItemMaterialCategory.OTHER.toString(), 1.5D); } + @Setting(value = "Item-Material-Category-XP-Multiplier", comment = "The material of your item is determined by mcMMO and used to influence XP, " + + "if your Item doesn't fit into a known category it will use OTHER." + + "\nFor the most part, items belong to categories of materials that they are made out of.") private HashMap itemMaterialXPMultiplier = ITEM_MATERIAL_XP_MULTIPLIER_DEFAULT; @Setting(value = "Repair-XP-Base", comment = "The base amount of XP for repairing an item." + @@ -40,7 +43,7 @@ public class ConfigExperienceRepair { return itemMaterialXPMultiplier; } - public static double getRepairXpBaseDefault() { - return REPAIR_XP_BASE_DEFAULT; + public double getRepairXPBase() { + return repairXPBase; } } \ No newline at end of file