Skip to content

Commit

Permalink
Adjustments to cooldown rewards checking
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Sep 11, 2023
1 parent 1e9828f commit 84f8f90
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void run() {
checkPerSite(uuid);
}
}
}, time + 61, TimeUnit.SECONDS);
}, time + 2, TimeUnit.SECONDS);
perSiteTasks.put(uuid, scheduledFuture);
}

Expand All @@ -151,7 +151,7 @@ public void run() {
check(uuid);
}
}
}, time, TimeUnit.SECONDS);
}, time+2, TimeUnit.SECONDS);
allSiteTasks.put(uuid, scheduledFuture);
}

Expand Down Expand Up @@ -183,7 +183,7 @@ public void onFinish() {
}
});

scheduleGlobalCheckVoteSite();
//scheduleGlobalCheckVoteSite();
}

public void scheduleGlobalCheckVoteSite() {
Expand Down Expand Up @@ -251,7 +251,7 @@ public void checkAllVoteSite(VoteSite site) {
cols = null;

plugin.getLogger().info("Finished checking vote cooldown rewards for all players: " + site.getKey());
scheduleGlobalCheckVoteSite(site);
//scheduleGlobalCheckVoteSite(site);

}

Expand Down

0 comments on commit 84f8f90

Please sign in to comment.