mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-03 07:54:07 +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;
|
instance = null;
|
||||||
consoleMsg("&e[Jobs] &2Plugin has been disabled successfully.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void checkDailyQuests(JobsPlayer jPlayer, Job job, ActionInfo info) {
|
private static void checkDailyQuests(JobsPlayer jPlayer, Job job, ActionInfo info) {
|
||||||
|
@ -307,7 +307,8 @@ public class PlayerManager {
|
|||||||
Iterator<JobsPlayer> iter = players.values().iterator();
|
Iterator<JobsPlayer> iter = players.values().iterator();
|
||||||
while (iter.hasNext()) {
|
while (iter.hasNext()) {
|
||||||
JobsPlayer jPlayer = iter.next();
|
JobsPlayer jPlayer = iter.next();
|
||||||
if (!jPlayer.isOnline() && jPlayer.isSaved())
|
|
||||||
|
if (jPlayer.isSaved() && !jPlayer.isOnline())
|
||||||
iter.remove();
|
iter.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user