Commit e30c8ea3 authored by liujiahua123123's avatar liujiahua123123

UDP client

parent bbc1f717
......@@ -33,6 +33,9 @@ public class MiraiConfig {
}
this.file = file;
try {
if(file.exists()){
file.createNewFile();
}
Config config = new Config();
config.setMultiSection(true);
ini = new Ini();
......@@ -78,6 +81,7 @@ public class MiraiConfig {
}
a.saveAsSection(ini.get(k));
});
this.clearCache();
try {
ini.store(file);
} catch (IOException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment