1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-04 23:37:49 +01:00

Ok, this should be 2... not 1...

This commit is contained in:
Zrips 2017-01-13 17:36:34 +02:00
parent 86e55de3b1
commit 2211124f4a
2 changed files with 2 additions and 2 deletions

View File

@ -950,7 +950,7 @@ public abstract class JobsDAO {
try { try {
prest = conn.prepareStatement("UPDATE `" + prefix + "users` SET `seen` = ?, `username` = ? WHERE `id` = ?;"); prest = conn.prepareStatement("UPDATE `" + prefix + "users` SET `seen` = ?, `username` = ? WHERE `id` = ?;");
prest.setLong(1, System.currentTimeMillis()); prest.setLong(1, System.currentTimeMillis());
prest.setString(1, player.getUserName()); prest.setString(2, player.getUserName());
prest.setInt(3, player.getUserId()); prest.setInt(3, player.getUserId());
prest.execute(); prest.execute();
} catch (SQLException e) { } catch (SQLException e) {

View File

@ -1,7 +1,7 @@
name: Jobs name: Jobs
description: Jobs Plugin for the BukkitAPI description: Jobs Plugin for the BukkitAPI
main: com.gamingmesh.jobs.Jobs main: com.gamingmesh.jobs.Jobs
version: 3.7.4 version: 3.7.5
author: phrstbrn author: phrstbrn
softdepend: [Vault, iConomy, MythicMobs, McMMO] softdepend: [Vault, iConomy, MythicMobs, McMMO]
commands: commands: