From db6a274918c564d2404fe964c74a0a31e629764d Mon Sep 17 00:00:00 2001 From: 502647092 Date: Mon, 12 Sep 2016 17:22:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=9C=AA=E9=87=8D=E8=BD=BD=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- pom.xml | 2 +- src/main/java/pw/yumc/MiaoChat/config/ChatConfig.java | 1 + src/main/resources/config.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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: