EnumMaps cannot use a null key

This commit is contained in:
t00thpick1 2014-08-03 20:39:37 -04:00
parent 857e12b96e
commit 70a23f8a0a

View File

@ -421,7 +421,7 @@ public final class SQLDatabaseManager implements DatabaseManager {
}
public Map<SkillType, Integer> readRank(String playerName) {
Map<SkillType, Integer> skills = new EnumMap<SkillType, Integer>(SkillType.class);
Map<SkillType, Integer> skills = new HashMap<SkillType, Integer>(SkillType.class);
ResultSet resultSet = null;
PreparedStatement statement = null;