mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Fix /mcrank showing everything as unranked...
This commit is contained in:
parent
748c97f6c1
commit
7e7e468408
@ -314,7 +314,11 @@ public final class FlatfileDatabaseManager {
|
||||
Map<String, Integer> skills = new HashMap<String, Integer>();
|
||||
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user