Archiviert
1
0

Revert useless change

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-02-29 10:49:07 +01:00
Ursprung bb7379e24b
Commit e58860644c

Datei anzeigen

@ -47,14 +47,7 @@ public class SteamwarUser {
} }
public static SteamwarUser getOrCreate(PendingConnection connection){ public static SteamwarUser getOrCreate(PendingConnection connection){
SteamwarUser user; SteamwarUser user = SteamwarUser.get(connection.getUniqueId());
try{
user = SteamwarUser.get(connection.getUniqueId());
}catch(SecurityException e){
//Exception only thrown for first time users
//Reason: java.sql.SQLException: Invalid utf8mb4 character string: 'ACED00'
user = null;
}
if(user != null){ if(user != null){
String userName = connection.getName(); String userName = connection.getName();