From 59cac59fe924074378aad0c17b78ed46d07edcb7 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 25 Jan 2020 12:51:29 +0100 Subject: [PATCH] Revert "Hotfix static instanciation" This reverts commit 86254479 --- 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 f421352..c1e6f9e 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);