1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-04-07 20:26:24 +02:00

Don't send a message to the console if no backups were deleted

This commit is contained in:
TfT_02 2013-11-02 21:50:49 +01:00
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) {