mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Update seen only on player quit
This commit is contained in:
parent
2211124f4a
commit
764cabd121
@ -154,6 +154,7 @@ public class PlayerManager {
|
||||
} else {
|
||||
jPlayer.onDisconnect();
|
||||
}
|
||||
Jobs.getJobsDAO().updateSeen(jPlayer);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -939,7 +939,6 @@ public abstract class JobsDAO {
|
||||
} finally {
|
||||
close(prest);
|
||||
}
|
||||
updateSeen(player);
|
||||
}
|
||||
|
||||
public void updateSeen(JobsPlayer player) {
|
||||
|
Loading…
Reference in New Issue
Block a user