mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Don't send a message to the console if no backups were deleted
This commit is contained in:
parent
0196fd8447
commit
a9c5e2a04f
@ -67,6 +67,10 @@ public class CleanBackupsTask extends BukkitRunnable {
|
||||
toDelete.add(file);
|
||||
}
|
||||
|
||||
if (toDelete.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
mcMMO.p.getLogger().info("Cleaning backup files... (" + amountDeleted + "/" + amountTotal + ")");
|
||||
|
||||
for (File file : toDelete) {
|
||||
|
Loading…
Reference in New Issue
Block a user