mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
file save
This commit is contained in:
parent
aa74a0fadd
commit
62073fa488
@ -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 New Issue
Block a user