Revert useless change
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
bb7379e24b
Commit
e58860644c
@ -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();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren