mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-04 07:19:18 +08:00
UDP client
This commit is contained in:
parent
bbc1f717a6
commit
e30c8ea3c4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user