12
0

Hotfix Schemtype fromDB NPE

Dieser Commit ist enthalten in:
Lixfel 2020-01-20 07:07:19 +01:00
Ursprung ed3e6a3e46
Commit 57ada4b9e0

Datei anzeigen

@ -81,9 +81,7 @@ public class SchematicType {
}
public static SchematicType fromDB(String input){
if(input == null)
return null;
return fromDB.get(input.toLowerCase());
return fromDB.getOrDefault(input.toLowerCase(), null);
}
public static List<SchematicType> values(){