Fixed clan donation points reset query.

This commit is contained in:
MobiusDevelopment
2022-07-26 23:41:42 +00:00
parent 4e98786ae7
commit 023e077489
3 changed files with 3 additions and 3 deletions

View File

@@ -363,7 +363,7 @@ public class DailyTaskManager
// Update data for offline players.
try (Connection con = DatabaseFactory.getConnection())
{
try (PreparedStatement ps = con.prepareStatement("DELETE FROM character_variables WHERE points var = ?"))
try (PreparedStatement ps = con.prepareStatement("DELETE FROM character_variables WHERE var = ?"))
{
ps.setString(1, PlayerVariables.CLAN_DONATION_POINTS);
ps.execute();

View File

@@ -364,7 +364,7 @@ public class DailyTaskManager
// Update data for offline players.
try (Connection con = DatabaseFactory.getConnection())
{
try (PreparedStatement ps = con.prepareStatement("DELETE FROM character_variables WHERE points var = ?"))
try (PreparedStatement ps = con.prepareStatement("DELETE FROM character_variables WHERE var = ?"))
{
ps.setString(1, PlayerVariables.CLAN_DONATION_POINTS);
ps.execute();

View File

@@ -364,7 +364,7 @@ public class DailyTaskManager
// Update data for offline players.
try (Connection con = DatabaseFactory.getConnection())
{
try (PreparedStatement ps = con.prepareStatement("DELETE FROM character_variables WHERE points var = ?"))
try (PreparedStatement ps = con.prepareStatement("DELETE FROM character_variables WHERE var = ?"))
{
ps.setString(1, PlayerVariables.CLAN_DONATION_POINTS);
ps.execute();