Add enable toggle and per skill thresholds

This commit is contained in:
TfT-02
2014-08-13 09:25:19 -06:00
committed by TfT_02
parent ce3463ad6d
commit 62a767db89
5 changed files with 23 additions and 5 deletions

View File

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