From b964e3f7c327f9ab7f0d61ebbd3c1016a072c862 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Fri, 18 Jul 2014 00:51:09 +0200 Subject: [PATCH] Show colors in console for party chat Fixes #2129 --- Changelog.txt | 1 + src/main/java/com/gmail/nossr50/chat/PartyChatManager.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index 9bbcf4109..06745e870 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -31,6 +31,7 @@ Version 1.5.01-dev = Fixed bug which could cause and SQLException regarding the connection property 'maxReconnects'. = Fixed bug where falling blocks were incorrectly tracked = Fixed bug where items would get deleted when in Berserk with a full inventory + = Fixed bug where the console would not correctly show party chat colors ! Changed SecondaryAbilityEvent to implement Cancellable and it now gets fired for damage related secondary abilities ! Changed the way mcMMO handles bonus damage, updated for the new damage event API ! Changed player data saving. Save tasks are now asynchronous diff --git a/src/main/java/com/gmail/nossr50/chat/PartyChatManager.java b/src/main/java/com/gmail/nossr50/chat/PartyChatManager.java index 70cf01d74..a7be9fa66 100644 --- a/src/main/java/com/gmail/nossr50/chat/PartyChatManager.java +++ b/src/main/java/com/gmail/nossr50/chat/PartyChatManager.java @@ -45,6 +45,6 @@ public class PartyChatManager extends ChatManager { } } - plugin.getLogger().info("[P]<" + party.getName() + ">" + message); + plugin.getServer().getConsoleSender().sendMessage("[mcMMO] [P]<" + party.getName() + ">" + message); } }