mirror of
https://e.coding.net/circlecloud/MiaoChat.git
synced 2024-11-14 13:28:46 +00:00
feat: 修复配置未重载的问题
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
6178bb8725
commit
db6a274918
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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)));
|
||||
|
@ -1,5 +1,5 @@
|
||||
#配置文件版本号 请勿修改
|
||||
Version: 1.1
|
||||
Version: 1.2
|
||||
|
||||
#格式列表
|
||||
Formats:
|
||||
|
Loading…
Reference in New Issue
Block a user