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