From b68579bcb73dc4d0a2507c845c9062a92ff0d390 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Tue, 5 Aug 2014 03:52:37 +0200 Subject: [PATCH] Switch to yellow instead of blue, as its more readable in console. --- .../src/main/java/com/comphenix/protocol/CommandPacket.java | 6 +++--- .../main/java/com/comphenix/protocol/CommandProtocol.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/CommandPacket.java b/ProtocolLib/src/main/java/com/comphenix/protocol/CommandPacket.java index 45f25556..a6ac8be1 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/CommandPacket.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/CommandPacket.java @@ -260,7 +260,7 @@ class CommandPacket extends CommandBase { } updatePacketListener(); - sendMessageSilently(sender, ChatColor.BLUE + "Added listener " + getWhitelistInfo(listener)); + sendMessageSilently(sender, ChatColor.YELLOW + "Added listener " + getWhitelistInfo(listener)); } private void executeRemoveCommand(CommandSender sender, Set removal) { @@ -268,7 +268,7 @@ class CommandPacket extends CommandBase { extendedTypes.removeAll(removal); compareTypes.removeAll(removal); updatePacketListener(); - sendMessageSilently(sender, ChatColor.BLUE + "Removing packet types."); + sendMessageSilently(sender, ChatColor.YELLOW + "Removing packet types."); } private void executeNamesCommand(CommandSender sender, Set types) { @@ -276,7 +276,7 @@ class CommandPacket extends CommandBase { // Print the equivalent name of every given ID for (PacketType type : types) { - messages.add(ChatColor.BLUE + type.toString()); + messages.add(ChatColor.YELLOW + type.toString()); } if (sender instanceof Player && messages.size() > 0 && messages.size() > PAGE_LINE_COUNT) { diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/CommandProtocol.java b/ProtocolLib/src/main/java/com/comphenix/protocol/CommandProtocol.java index d2f8f957..2f61f4a8 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/CommandProtocol.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/CommandProtocol.java @@ -105,7 +105,7 @@ class CommandProtocol extends CommandBase { Runnable notify = new Runnable() { @Override public void run() { - sender.sendMessage(ChatColor.BLUE + "[ProtocolLib] " + updater.getResult()); + sender.sendMessage(ChatColor.YELLOW + "[ProtocolLib] " + updater.getResult()); updater.removeListener(this); updateFinished(); @@ -176,6 +176,6 @@ class CommandProtocol extends CommandBase { public void reloadConfiguration(CommandSender sender) { plugin.reloadConfig(); - sender.sendMessage(ChatColor.BLUE + "Reloaded configuration!"); + sender.sendMessage(ChatColor.YELLOW + "Reloaded configuration!"); } }