Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70a4a06d4f | ||
|
|
bbee18fd8a |
@@ -116,8 +116,9 @@ public class EcoLoadableJSONConfig extends EcoJSONConfigWrapper implements Loada
|
||||
|
||||
@Override
|
||||
public void save() throws IOException {
|
||||
configFile.delete();
|
||||
Files.write(configFile.toPath(), this.toPlaintext().getBytes(), StandardOpenOption.CREATE, StandardOpenOption.WRITE);
|
||||
if (configFile.delete()) {
|
||||
Files.write(configFile.toPath(), this.toPlaintext().getBytes(), StandardOpenOption.CREATE, StandardOpenOption.WRITE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
version = 6.0.5
|
||||
version = 6.0.6
|
||||
plugin-name = eco
|
||||
Reference in New Issue
Block a user