diff --git a/pom.xml b/pom.xml index f25553d..6d038b9 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 pw.yumc MiaoChat - 1.1 + 1.2 ${project.name} diff --git a/src/main/java/pw/yumc/MiaoChat/config/ChatConfig.java b/src/main/java/pw/yumc/MiaoChat/config/ChatConfig.java index 48d3086..bfac3e0 100644 --- a/src/main/java/pw/yumc/MiaoChat/config/ChatConfig.java +++ b/src/main/java/pw/yumc/MiaoChat/config/ChatConfig.java @@ -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))); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index c806635..e401334 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,5 +1,5 @@ #配置文件版本号 请勿修改 -Version: 1.1 +Version: 1.2 #格式列表 Formats: