Fixed issues with level caps having a tab character in the config file.

This commit is contained in:
gmcferrin 2012-02-02 08:26:02 -05:00
parent 2b85ed01ea
commit b4a3ddba3c
2 changed files with 4 additions and 5 deletions

View File

@ -67,7 +67,6 @@ public class LoadProperties {
fishingDropChanceTier2, fishingDropChanceTier3, fishingDropChanceTier2, fishingDropChanceTier3,
fishingDropChanceTier4, fishingDropChanceTier5, mnetherwart, fishingDropChanceTier4, fishingDropChanceTier5, mnetherwart,
mvines, mlilypad, mnetherbrick, mendstone, mmossstone, mstonebrick, mvines, mlilypad, mnetherbrick, mendstone, mmossstone, mstonebrick,
levelCapAcrobatics, levelCapArchery, levelCapAxes, levelCapExcavation, levelCapAcrobatics, levelCapArchery, levelCapAxes, levelCapExcavation,
levelCapFishing, levelCapHerbalism, levelCapMining, levelCapRepair, levelCapFishing, levelCapHerbalism, levelCapMining, levelCapRepair,
levelCapSwords, levelCapTaming, levelCapUnarmed, levelCapWoodcutting; levelCapSwords, levelCapTaming, levelCapUnarmed, levelCapWoodcutting;
@ -355,7 +354,7 @@ public class LoadProperties {
levelCapSwords = readInteger("Skills.Swords.Level_Cap", 0); levelCapSwords = readInteger("Skills.Swords.Level_Cap", 0);
levelCapTaming = readInteger("Skills.Taming.Level_Cap", 0); levelCapTaming = readInteger("Skills.Taming.Level_Cap", 0);
levelCapUnarmed = readInteger("Skills.Unarmed.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); mayDowngradeEnchants = readBoolean("Arcane_Forging.Downgrades.Enabled", true);
downgradeRank1 = readInteger("Arcane_Forging.Downgrades.Chance.Rank_1", 75); downgradeRank1 = readInteger("Arcane_Forging.Downgrades.Chance.Rank_1", 75);

View File

@ -107,11 +107,11 @@ Fishing:
Wooden_Tools: true Wooden_Tools: true
Skills: Skills:
Acrobatics: Acrobatics:
Level_Cap: 0 #Level cap of 0 for no limit Level_Cap: 0 #Level cap of 0 for no limit
Archery: Archery:
Level_Cap: 0 Level_Cap: 0
Axes: Axes:
Level_Cap: 0 Level_Cap: 0
Excavation: Excavation:
Level_Cap: 0 Level_Cap: 0
Requires_Shovel: true Requires_Shovel: true