Hello,
I'm getting some problems when I tried to make a config file.
Always when the game starts, he overriden the current save file, and rename to mod_***.cfg.bak and create a new file with defaults config.
But I dont know why this is happening. I use this code to load my config:
public static void configurationProperties()
{
Configuration config = new Configuration(new File(new File(mc.getMinecraftDir(), "config"), "mod_***.cfg"));
config.load();
currVer = config.getOrCreateProperty("mod.versao", config.CATEGORY_GENERAL, defautlVer).value;
config.save();
}