Fixed #52
This commit is contained in:
parent
75eec3e040
commit
09b809de8f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user