Fix /mcrank showing everything as unranked...

This commit is contained in:
GJ 2013-04-26 10:51:17 -04:00
parent 748c97f6c1
commit 7e7e468408

View File

@ -314,7 +314,11 @@ public final class FlatfileDatabaseManager {
Map<String, Integer> skills = new HashMap<String, Integer>(); Map<String, Integer> skills = new HashMap<String, Integer>();
for (SkillType skill : SkillType.values()) { for (SkillType skill : SkillType.values()) {
skills.put(playerName, getPlayerRank(playerName, playerStatHash.get(skill))); if (skill.isChildSkill()) {
continue;
}
skills.put(skill.name(), getPlayerRank(playerName, playerStatHash.get(skill)));
} }
skills.put("ALL", getPlayerRank(playerName, powerLevels)); skills.put("ALL", getPlayerRank(playerName, powerLevels));