Archiviert
13
0

Switch to yellow instead of blue, as its more readable in console.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2014-08-05 03:52:37 +02:00
Ursprung c443fc3da6
Commit b68579bcb7
2 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen

Datei anzeigen

@ -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<PacketType> 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<PacketType> 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) {

Datei anzeigen

@ -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!");
}
}