SteamWar/SpigotCore
Archiviert
13
0

Fix BauweltMemberConfig

Dieser Commit ist enthalten in:
yoyosource 2021-04-30 17:48:02 +02:00
Ursprung ad05babe45
Commit d239f2cbaa

Datei anzeigen

@ -42,7 +42,7 @@ public final class BauweltMemberConfig {
public static String getPlayerConfig(int id) { public static String getPlayerConfig(int id) {
ResultSet config = SQL.select("SELECT * FROM MemberConfig WHERE UserID = ?", id); ResultSet config = SQL.select("SELECT * FROM MemberConfig WHERE UserID = ?", id);
try { try {
if (config == null || !config.next()) { if (!config.next()) {
return null; return null;
} }
return config.getString("BauConfig"); return config.getString("BauConfig");