Fix OnlineTime Exception
Dieser Commit ist enthalten in:
Ursprung
d304af0197
Commit
d815a05b60
@ -25,6 +25,9 @@ import java.sql.SQLException;
|
||||
public class OnlineTime {
|
||||
|
||||
public static double getOnlinetime(SteamwarUser steamwarUser) {
|
||||
if (true) {
|
||||
return 0;
|
||||
}
|
||||
ResultSet set = SQL.select("SELECT SUM(UNIX_TIMESTAMP(EndTime) - UNIX_TIMESTAMP(StartTime)) as Playtime FROM Session WHERE UserID = ?", steamwarUser.getId());
|
||||
try {
|
||||
set.next();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren