From d239f2cbaa6933885aebf093804f52a8a895f654 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 30 Apr 2021 17:48:02 +0200 Subject: [PATCH] Fix BauweltMemberConfig --- SpigotCore_Main/src/de/steamwar/sql/BauweltMemberConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/sql/BauweltMemberConfig.java b/SpigotCore_Main/src/de/steamwar/sql/BauweltMemberConfig.java index 3315e48..691cd9e 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/BauweltMemberConfig.java +++ b/SpigotCore_Main/src/de/steamwar/sql/BauweltMemberConfig.java @@ -42,7 +42,7 @@ public final class BauweltMemberConfig { public static String getPlayerConfig(int id) { ResultSet config = SQL.select("SELECT * FROM MemberConfig WHERE UserID = ?", id); try { - if (config == null || !config.next()) { + if (!config.next()) { return null; } return config.getString("BauConfig");