Hotfix getOrCreate SQLExceptions
Dieser Commit ist enthalten in:
Ursprung
c6f23876e3
Commit
114fac5bd7
@ -75,7 +75,7 @@ public class SteamwarUser {
|
|||||||
public static SteamwarUser get(UUID uuid){
|
public static SteamwarUser get(UUID uuid){
|
||||||
if(usersByUUID.containsKey(uuid))
|
if(usersByUUID.containsKey(uuid))
|
||||||
return usersByUUID.get(uuid);
|
return usersByUUID.get(uuid);
|
||||||
return dbInit(SQL.select("SELECT * FROM UserData WHERE UUID = ?", uuid.toString()));
|
return dbInit(SQL.select("SELECT * FROM UserData WHERE UUID = '" + uuid.toString() + "'")); //Fix getOrCreate exceptions for first time users
|
||||||
}
|
}
|
||||||
|
|
||||||
public static SteamwarUser get(ProxiedPlayer player){
|
public static SteamwarUser get(ProxiedPlayer player){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren