mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-29 12:07:54 +01:00
EnumMaps cannot use a null key
This commit is contained in:
parent
857e12b96e
commit
70a23f8a0a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user