Allow AdvancedSalvage unlock level 0

Fixes #2265
This commit is contained in:
TfT_02 2014-09-06 20:23:41 +02:00
parent 07e589aae3
commit 3c6dd290f4

View File

@ -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<Salvage.Tier> salvageTierList = Arrays.asList(Salvage.Tier.values());