This commit is contained in:
szymon 2020-12-13 12:30:58 +01:00
parent 75eec3e040
commit 09b809de8f

View File

@ -174,7 +174,7 @@ public class BackupHelper {
}
private static boolean deleteFile(File f, ServerCommandSource ctx) {
if(f != Statics.untouchableFile) {
if(!Statics.untouchableFile.equals(f)) {
if(f.delete()) {
Statics.LOGGER.sendInfoAL(ctx, "Deleting: {}", f.getName());
return true;