mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-01 23:13:48 +01:00
Invert condition here
This commit is contained in:
parent
0e2621e42a
commit
5f3b8526c7
@ -890,7 +890,6 @@ public class Jobs extends JavaPlugin {
|
||||
}
|
||||
|
||||
instance = null;
|
||||
consoleMsg("&e[Jobs] &2Plugin has been disabled successfully.");
|
||||
}
|
||||
|
||||
private static void checkDailyQuests(JobsPlayer jPlayer, Job job, ActionInfo info) {
|
||||
|
@ -307,7 +307,8 @@ public class PlayerManager {
|
||||
Iterator<JobsPlayer> iter = players.values().iterator();
|
||||
while (iter.hasNext()) {
|
||||
JobsPlayer jPlayer = iter.next();
|
||||
if (!jPlayer.isOnline() && jPlayer.isSaved())
|
||||
|
||||
if (jPlayer.isSaved() && !jPlayer.isOnline())
|
||||
iter.remove();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user