From d5f7f5d429fe1bf50f6f73daef0de21534c24a70 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Wed, 18 Nov 2015 23:12:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E8=BD=BD=E8=AF=AD=E8=A8=80=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6.....?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- src/main/java/org/maxgamer/QuickShop/Util/MsgUtil.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/maxgamer/QuickShop/Util/MsgUtil.java b/src/main/java/org/maxgamer/QuickShop/Util/MsgUtil.java index d7f0dad..34f8e97 100644 --- a/src/main/java/org/maxgamer/QuickShop/Util/MsgUtil.java +++ b/src/main/java/org/maxgamer/QuickShop/Util/MsgUtil.java @@ -82,7 +82,7 @@ public class MsgUtil { } } catch (final SQLException e) { e.printStackTrace(); - System.out.println("无法从数据库获得玩家的交易记录 跳过..."); + plugin.getLogger().warning("无法从数据库获得玩家的交易记录 跳过..."); } } @@ -100,6 +100,11 @@ public class MsgUtil { return raw; } + public static void reload() { + messages.reload(); + Util.parseColours(messages); + } + /** * @param player * The name of the player to message