Hotfix Schemtype fromDB NPE
Dieser Commit ist enthalten in:
Ursprung
ed3e6a3e46
Commit
57ada4b9e0
@ -81,9 +81,7 @@ public class SchematicType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static SchematicType fromDB(String input){
|
public static SchematicType fromDB(String input){
|
||||||
if(input == null)
|
return fromDB.getOrDefault(input.toLowerCase(), null);
|
||||||
return null;
|
|
||||||
return fromDB.get(input.toLowerCase());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<SchematicType> values(){
|
public static List<SchematicType> values(){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren