From 3c6dd290f40ba68f48b26e2bab97103ce6eabf8a Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Sat, 6 Sep 2014 20:23:41 +0200 Subject: [PATCH] Allow AdvancedSalvage unlock level 0 Fixes #2265 --- 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 913bde22a..f3225fc7e 100644 --- a/src/main/java/com/gmail/nossr50/config/AdvancedConfig.java +++ b/src/main/java/com/gmail/nossr50/config/AdvancedConfig.java @@ -420,8 +420,8 @@ public class AdvancedConfig extends AutoUpdateConfigLoader { reason.add("Skills.Salvage.MaxPercentageLevel should be at least 1!"); } - if (getAdvancedSalvageUnlockLevel() < 1) { - reason.add("Skills.Salvage.AdvancedSalvage.UnlockLevel should be at least 1!"); + if (getAdvancedSalvageUnlockLevel() < 0) { + reason.add("Skills.Salvage.AdvancedSalvage.UnlockLevel should be at least 0!"); } List salvageTierList = Arrays.asList(Salvage.Tier.values());