From c3e1e55e9c18f45959fe421638f47986afd6ab86 Mon Sep 17 00:00:00 2001 From: NuclearW Date: Tue, 22 May 2012 01:08:29 -0400 Subject: [PATCH] Fix for minimumQuantity default --- src/main/java/com/gmail/nossr50/config/RepairConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/config/RepairConfig.java b/src/main/java/com/gmail/nossr50/config/RepairConfig.java index fb2186296..f6f7e65b6 100644 --- a/src/main/java/com/gmail/nossr50/config/RepairConfig.java +++ b/src/main/java/com/gmail/nossr50/config/RepairConfig.java @@ -56,7 +56,7 @@ public class RepairConfig extends ConfigLoader { int repairMetadata = config.getInt("Repairables." + key + ".RepairMaterialMetadata", -1); int minimumLevel = config.getInt("Repairables." + key + ".MinimumLevel", 0); - int minimumQuantity = config.getInt("Repairables." + key + ".MinimumQuantity", 0); + int minimumQuantity = config.getInt("Repairables." + key + ".MinimumQuantity", 2); double xpMultiplier = config.getDouble("Repairables." + key + ".XpMultiplier", 1); RepairItemType repairItemType = RepairItemType.OTHER;