Fix issue with database cleanup of old cooldowns
This commit is contained in:
parent
582ada4657
commit
1d3e3fa464
|
@ -73,7 +73,7 @@ public abstract class SQL extends Database
|
|||
{
|
||||
try(Connection connection = getConnection())
|
||||
{
|
||||
DBTools.runStatement(connection, queryDeleteOldCooldowns, System.currentTimeMillis());
|
||||
DBTools.runStatement(connection, queryDeleteOldCooldowns, new Timestamp(System.currentTimeMillis()));
|
||||
}
|
||||
catch(SQLException e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue