Fix issue with database cleanup of old cooldowns

This commit is contained in:
GeorgH93 2024-01-28 18:18:18 +01:00
parent 582ada4657
commit 1d3e3fa464
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{