From ad05babe45205b26d568933825fd1e16559b4f5c Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 30 Apr 2021 14:57:58 +0200 Subject: [PATCH] Fix BauweltMemberConfig --- SpigotCore_Main/src/de/steamwar/sql/BauweltMemberConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } }