Adds hyphen before timestamp in file name, when creating backup YamlCfg
This commit is contained in:
parent
daa601688d
commit
f8b3942de2
|
@ -227,7 +227,7 @@ public class SongodaYamlConfig extends YamlConfiguration {
|
|||
}
|
||||
|
||||
try {
|
||||
Path targetPath = this.file.toPath().resolveSibling(this.file.getPath() + ".backup" + System.currentTimeMillis());
|
||||
Path targetPath = this.file.toPath().resolveSibling(this.file.getPath() + ".backup-" + System.currentTimeMillis());
|
||||
|
||||
Files.copy(
|
||||
this.file.toPath(),
|
||||
|
|
Loading…
Reference in New Issue