Fix whois NPE on never connected user #262
@ -329,7 +329,7 @@ public class SteamwarUser {
|
||||
|
||||
public double getOnlinetime() {
|
||||
return getPlaytime.select(rs -> {
|
||||
if(rs.next())
|
||||
if(rs.next() && rs.getBigDecimal("Playtime") != null)
|
||||
return rs.getBigDecimal("Playtime").doubleValue();
|
||||
return 0.0;
|
||||
}, id);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren