mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-09-13 08:25:34 +02:00
Add enable toggle and per skill thresholds
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user