package team.unstudio.udpl.api.config;

import java.io.File;
import java.io.IOException;

import org.bukkit.configuration.file.YamlConfiguration;

public enum ConfigurationHelper {
	
	;
	
    /**
     * 载入配置文件
     *
     * @param file
     * @return
     * @throws IOException
     */
    public static YamlConfiguration loadConfiguration(File file) throws IOException {
        if (!file.getAbsoluteFile().getParentFile().exists()) 
        	file.getAbsoluteFile().getParentFile().mkdirs();

        if (!file.exists()) 
        	file.createNewFile();
        return YamlConfiguration.loadConfiguration(file);
    }
}

@@ -583,15 +583,36 @@
     
-return 
+%0D%0A        return AutoCharset
 Yaml

Update ConfigurationHelper#loadConfiguration