4
1
mirror of https://e.coding.net/circlecloud/MiaoChat.git synced 2024-12-21 19:08:47 +00:00

feat: 修复配置未重载的问题

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-09-12 17:22:44 +08:00
parent 6178bb8725
commit db6a274918
3 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>pw.yumc</groupId>
<artifactId>MiaoChat</artifactId>
<version>1.1</version>
<version>1.2</version>
<build>
<finalName>${project.name}</finalName>
<resources>

View File

@ -56,6 +56,7 @@ public class ChatConfig {
}
public void reload() {
format.reload();
formats.clear();
for (final String name : format.getKeys(false)) {
formats.put(name, new ChatMessagePart(format.getConfigurationSection(name)));

View File

@ -1,5 +1,5 @@
#配置文件版本号 请勿修改
Version: 1.1
Version: 1.2
#格式列表
Formats: