mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01:00 
			
		
		
		
	file save
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user