diff --git a/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java b/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java index 6049606..29fab1a 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java @@ -29,7 +29,7 @@ public class SchematicType { String checktype = section.getString("checktype"); SchematicType current = new SchematicType(type, section.getString("kuerzel"), Type.valueOf(section.getString("type")), checktype != null ? fromDB(checktype) : null); tmpTypes.add(current); - tmpFromDB.put(type, current); + tmpFromDB.put(type.toLowerCase(), current); } fromDB = Collections.unmodifiableMap(tmpFromDB);