Use a DelayQueue to manage rolling diminished returns

This commit is contained in:
riking
2013-10-26 22:44:03 -07:00
committed by TfT_02
parent 2a443cd9db
commit 332860b9ce
5 changed files with 54 additions and 47 deletions

View File

@ -497,7 +497,7 @@ public class mcMMO extends JavaPlugin {
// Clear the registered XP data so players can earn XP again
if (ExperienceConfig.getInstance().getDiminishedReturnsThreshold() > 0) {
new ClearRegisteredXPGainTask().runTaskTimer(this, 60 * 20, 60 * 20);
new ClearRegisteredXPGainTask().runTaskTimer(this, 60, 60);
}
}