mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-01 03:55:28 +02:00
Expanding DB cleanup settings, Player Leveling config pt 1
This commit is contained in:
@@ -17,7 +17,7 @@ public class McpurgeCommand implements TabExecutor {
|
||||
case 0:
|
||||
mcMMO.getDatabaseManager().purgePowerlessUsers();
|
||||
|
||||
if (MainConfig.getInstance().getOldUsersCutoff() != -1) {
|
||||
if (mcMMO.getDatabaseCleaningSettings().getOldUserCutoffMonths() != -1) {
|
||||
mcMMO.getDatabaseManager().purgeOldUsers();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user