12
0

Fixing checktype classification

Dieser Commit ist enthalten in:
Lixfel 2020-01-25 14:04:07 +01:00
Ursprung f883220618
Commit ef01e8f685

Datei anzeigen

@ -31,7 +31,7 @@ public class SchematicType {
ConfigurationSection section = config.getConfigurationSection(type);
assert section != null;
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);
tmpFromDB.put(type.toLowerCase(), current);
}