1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Update seen only on player quit

This commit is contained in:
Zrips 2017-01-13 17:43:36 +02:00
parent 2211124f4a
commit 764cabd121
2 changed files with 1 additions and 1 deletions

View File

@ -154,6 +154,7 @@ public class PlayerManager {
} else {
jPlayer.onDisconnect();
}
Jobs.getJobsDAO().updateSeen(jPlayer);
}
/**

View File

@ -939,7 +939,6 @@ public abstract class JobsDAO {
} finally {
close(prest);
}
updateSeen(player);
}
public void updateSeen(JobsPlayer player) {