Fixing checktype classification
Dieser Commit ist enthalten in:
Ursprung
f883220618
Commit
ef01e8f685
@ -31,7 +31,7 @@ public class SchematicType {
|
|||||||
ConfigurationSection section = config.getConfigurationSection(type);
|
ConfigurationSection section = config.getConfigurationSection(type);
|
||||||
assert section != null;
|
assert section != null;
|
||||||
String checktype = section.getString("checktype");
|
String checktype = section.getString("checktype");
|
||||||
SchematicType current = new SchematicType(type, section.getString("kuerzel"), Type.valueOf(section.getString("type")), checktype != null ? tmpFromDB.get(checktype) : null);
|
SchematicType current = new SchematicType(type, section.getString("kuerzel"), Type.valueOf(section.getString("type")), checktype != null ? tmpFromDB.get(checktype.toLowerCase()) : null);
|
||||||
tmpTypes.add(current);
|
tmpTypes.add(current);
|
||||||
tmpFromDB.put(type.toLowerCase(), current);
|
tmpFromDB.put(type.toLowerCase(), current);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren