SteamWar/SpigotCore
Archiviert
13
0
Dieser Commit ist enthalten in:
Lixfel 2019-03-27 14:50:56 +01:00
Ursprung 2e63e8fa15
Commit c945023f8c

Datei anzeigen

@ -34,7 +34,8 @@ public class WarkingUser {
private void init(ResultSet dbplayer){
try {
dbplayer.next();
if(!dbplayer.next())
return;
id = dbplayer.getInt("id");
this.UUID = java.util.UUID.fromString(dbplayer.getString("UUID"));
UserName = dbplayer.getString("UserName");
@ -66,7 +67,6 @@ public class WarkingUser {
if(user.UserName.equalsIgnoreCase(userName))
return user;
WarkingUser offline = new WarkingUser(userName);
allUsers.remove(offline);
return offline;
}
@ -75,7 +75,6 @@ public class WarkingUser {
if(user.UserName.equals(uuid))
return user;
WarkingUser offline = new WarkingUser(uuid);
allUsers.remove(offline);
return offline;
}
@ -84,7 +83,6 @@ public class WarkingUser {
if(user.id == id)
return user;
WarkingUser offline = new WarkingUser(id);
allUsers.remove(offline);
return offline;
}