Archiviert
1
0

Hotfix SteamwarUser

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-09-04 21:15:30 +02:00
Ursprung 49105c4f73
Commit 05c37c0df0

Datei anzeigen

@ -158,8 +158,9 @@ public class SteamwarUser {
if(usersByUUID.containsKey(uuid)) if(usersByUUID.containsKey(uuid))
return usersByUUID.get(uuid); return usersByUUID.get(uuid);
return byUUID.select(rs -> { return byUUID.select(rs -> {
rs.next(); if(rs.next())
return new SteamwarUser(rs); return new SteamwarUser(rs);
return null;
}, uuid.toString()); }, uuid.toString());
} }