Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
e66dd48b89
Commit
adeb5de034
@ -329,7 +329,7 @@ public class SteamwarUser {
|
|||||||
|
|
||||||
public double getOnlinetime() {
|
public double getOnlinetime() {
|
||||||
return getPlaytime.select(rs -> {
|
return getPlaytime.select(rs -> {
|
||||||
if(rs.next())
|
if(rs.next() && rs.getBigDecimal("Playtime") != null)
|
||||||
return rs.getBigDecimal("Playtime").doubleValue();
|
return rs.getBigDecimal("Playtime").doubleValue();
|
||||||
return 0.0;
|
return 0.0;
|
||||||
}, id);
|
}, id);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren