Fixed small typo preventing homunculus daily reset to run.

Contributed by CostyKiller.
This commit is contained in:
MobiusDevelopment 2021-06-15 22:12:56 +00:00
parent 1dba9f168e
commit 04a517ac5b
2 changed files with 8 additions and 8 deletions

View File

@ -342,10 +342,10 @@ public class DailyTaskManager extends AbstractEventManager<AbstractEvent<?>>
try (PreparedStatement ps = con.prepareStatement("UPDATE character_variables SET val = ? WHERE var IN (?, ?, ?, ?)"))
{
ps.setInt(1, 0);
ps.setString(1, PlayerVariables.HOMUNCULUS_USED_RESET_VP);
ps.setString(2, PlayerVariables.HOMUNCULUS_USED_VP_CONVERT);
ps.setString(3, PlayerVariables.HOMUNCULUS_USED_RESET_KILLS);
ps.setString(4, PlayerVariables.HOMUNCULUS_USED_KILL_CONVERT);
ps.setString(2, PlayerVariables.HOMUNCULUS_USED_RESET_VP);
ps.setString(3, PlayerVariables.HOMUNCULUS_USED_VP_CONVERT);
ps.setString(4, PlayerVariables.HOMUNCULUS_USED_RESET_KILLS);
ps.setString(5, PlayerVariables.HOMUNCULUS_USED_KILL_CONVERT);
ps.execute();
}
}

View File

@ -342,10 +342,10 @@ public class DailyTaskManager extends AbstractEventManager<AbstractEvent<?>>
try (PreparedStatement ps = con.prepareStatement("UPDATE character_variables SET val = ? WHERE var IN (?, ?, ?, ?)"))
{
ps.setInt(1, 0);
ps.setString(1, PlayerVariables.HOMUNCULUS_USED_RESET_VP);
ps.setString(2, PlayerVariables.HOMUNCULUS_USED_VP_CONVERT);
ps.setString(3, PlayerVariables.HOMUNCULUS_USED_RESET_KILLS);
ps.setString(4, PlayerVariables.HOMUNCULUS_USED_KILL_CONVERT);
ps.setString(2, PlayerVariables.HOMUNCULUS_USED_RESET_VP);
ps.setString(3, PlayerVariables.HOMUNCULUS_USED_VP_CONVERT);
ps.setString(4, PlayerVariables.HOMUNCULUS_USED_RESET_KILLS);
ps.setString(5, PlayerVariables.HOMUNCULUS_USED_KILL_CONVERT);
ps.execute();
}
}