mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 19:50:38 +00:00
file save
This commit is contained in:
parent
aa74a0fadd
commit
62073fa488
1 changed files with 4 additions and 0 deletions
|
@ -137,6 +137,10 @@ public class YamlTranslationFile extends TranslationFile {
|
|||
@Override
|
||||
public void saveFile() {
|
||||
try {
|
||||
if (!this.file.exists()) {
|
||||
this.file.getParentFile().mkdirs();
|
||||
this.file.createNewFile();
|
||||
}
|
||||
final FileWriter writer = new FileWriter(this.file);
|
||||
// String s = getYaml().dump(map);
|
||||
if ((this.header != null) && !this.fancyHead) {
|
||||
|
|
Loading…
Reference in a new issue