From 8625447969be42253628d4bc0bf6562a712ff4b9 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 20 Jan 2020 07:17:40 +0100 Subject: [PATCH] Hotfix static instanciation --- SpigotCore_Main/src/de/steamwar/sql/SchematicType.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);