From c1981cf66a12d4b9a981db3b8f14b23f331a730b Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 20 Jan 2020 07:00:48 +0100 Subject: [PATCH] Hotfix Schemtype fromDB name --- SpigotCore_Main/src/de/steamwar/sql/SchematicType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);