From b4a3ddba3cc936c385bc309ac97012ef2b108211 Mon Sep 17 00:00:00 2001 From: gmcferrin Date: Thu, 2 Feb 2012 08:26:02 -0500 Subject: [PATCH] Fixed issues with level caps having a tab character in the config file. --- src/main/java/com/gmail/nossr50/config/LoadProperties.java | 3 +-- src/main/resources/config.yml | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/LoadProperties.java b/src/main/java/com/gmail/nossr50/config/LoadProperties.java index 357b771a5..1043a68b7 100644 --- a/src/main/java/com/gmail/nossr50/config/LoadProperties.java +++ b/src/main/java/com/gmail/nossr50/config/LoadProperties.java @@ -67,7 +67,6 @@ public class LoadProperties { fishingDropChanceTier2, fishingDropChanceTier3, fishingDropChanceTier4, fishingDropChanceTier5, mnetherwart, mvines, mlilypad, mnetherbrick, mendstone, mmossstone, mstonebrick, - levelCapAcrobatics, levelCapArchery, levelCapAxes, levelCapExcavation, levelCapFishing, levelCapHerbalism, levelCapMining, levelCapRepair, levelCapSwords, levelCapTaming, levelCapUnarmed, levelCapWoodcutting; @@ -355,7 +354,7 @@ public class LoadProperties { levelCapSwords = readInteger("Skills.Swords.Level_Cap", 0); levelCapTaming = readInteger("Skills.Taming.Level_Cap", 0); levelCapUnarmed = readInteger("Skills.Unarmed.Level_Cap", 0); - levelCapWoodcutting = readInteger("Skills.Woodcutting.Level_Cap", 0); + levelCapWoodcutting = readInteger("Skills.Woodcutting.Level_Cap", 0); mayDowngradeEnchants = readBoolean("Arcane_Forging.Downgrades.Enabled", true); downgradeRank1 = readInteger("Arcane_Forging.Downgrades.Chance.Rank_1", 75); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 69fcdeddc..095319bc0 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -107,11 +107,11 @@ Fishing: Wooden_Tools: true Skills: Acrobatics: - Level_Cap: 0 #Level cap of 0 for no limit + Level_Cap: 0 #Level cap of 0 for no limit Archery: - Level_Cap: 0 + Level_Cap: 0 Axes: - Level_Cap: 0 + Level_Cap: 0 Excavation: Level_Cap: 0 Requires_Shovel: true