浏览代码

Show colors in console for party chat

Fixes #2129
TfT_02 11 年之前
父节点
当前提交
b964e3f7c3
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      Changelog.txt
  2. 1 1
      src/main/java/com/gmail/nossr50/chat/PartyChatManager.java

+ 1 - 0
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

+ 1 - 1
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);
     }
 }