diff --git a/SpigotCore_Main/src/de/steamwar/sql/BauweltMemberConfig.java b/SpigotCore_Main/src/de/steamwar/sql/BauweltMemberConfig.java index b915d78..3315e48 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/BauweltMemberConfig.java +++ b/SpigotCore_Main/src/de/steamwar/sql/BauweltMemberConfig.java @@ -28,7 +28,7 @@ import java.util.UUID; public final class BauweltMemberConfig { private BauweltMemberConfig() { - throw new IllegalStateException("Utility Class"); + } public static String getPlayerConfig(Player player) { @@ -47,7 +47,7 @@ public final class BauweltMemberConfig { } return config.getString("BauConfig"); } catch (SQLException e) { - return null; + throw new SecurityException(); } }