diff --git a/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java b/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java index c1e6f9e..f421352 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SchematicType.java @@ -113,9 +113,9 @@ public enum SchematicType { return kuerzel; } - /*public String toDB(){ - return name.toLowerCase(); - }*/ + public String toDB(){ + return name().toLowerCase(); + } public static SchematicType fromDB(String input){ return fromDB.getOrDefault(input.toLowerCase(), null);