Fixed configuration saving

This commit is contained in:
t3hk0d3 2012-02-23 05:33:54 +04:00
parent 8eea065876
commit 0c76ed2718

View File

@ -76,16 +76,7 @@ public class Modifyworld extends JavaPlugin {
return;
}
try {
File configFile = new File(this.getDataFolder(), "config.yml");
if(!configFile.exists()) {
configFile.mkdirs();
}
config.save(configFile);
} catch (IOException e) {
logger.severe("[Modifyworld] Can't save new configuration file!");
}
this.saveConfig();
}
@Override