fix more diff
This commit is contained in:
@@ -70,8 +70,8 @@
|
||||
}
|
||||
+ // Spigot start
|
||||
+ } catch (com.google.gson.JsonParseException | NullPointerException ex) {
|
||||
+ LOGGER.warn("Unable to read file {}, backing it up to {0}.backup and creating new copy.", this.file, ex);
|
||||
+ File backup = new File(this.file + ".backup");
|
||||
+ LOGGER.warn("Unable to read file {}, backing it up to {} and creating new copy.", this.file, backup, ex);
|
||||
+ this.file.renameTo(backup);
|
||||
+ this.file.delete();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user