geforkt von SteamWar/BungeeCore
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){
|
||||
SteamwarUser user;
|
||||
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;
|
||||
}
|
||||
SteamwarUser user = SteamwarUser.get(connection.getUniqueId());
|
||||
|
||||
if(user != null){
|
||||
String userName = connection.getName();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren