mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-03 22:47:40 +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) {
|
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;
|
ResultSet resultSet = null;
|
||||||
PreparedStatement statement = null;
|
PreparedStatement statement = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user