diff --git a/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java b/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java index 29fab1a..068ceeb 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java @@ -81,6 +81,8 @@ public class SchematicType { } public static SchematicType fromDB(String input){ + if(input == null) + return null; return fromDB.get(input.toLowerCase()); }