rollback to start again

This commit is contained in:
HSGamer 2023-08-18 22:34:43 +07:00
parent c11223b174
commit fce6e645ea

View File

@ -647,7 +647,7 @@ public class mcMMO extends JavaPlugin {
long saveIntervalTicks = Math.max(minute, generalConfig.getSaveInterval() * minute); long saveIntervalTicks = Math.max(minute, generalConfig.getSaveInterval() * minute);
new SaveTimerTask().runTaskTimer(saveIntervalTicks, saveIntervalTicks); new SaveTimerTask().runTaskTimer(this, saveIntervalTicks, saveIntervalTicks);
// Cleanup the backups folder // Cleanup the backups folder
getFoliaLib().getImpl().runAsync(new CleanBackupsTask()); getFoliaLib().getImpl().runAsync(new CleanBackupsTask());