From 2195aca7591bccfc85a91035a0e15618bb22b99f Mon Sep 17 00:00:00 2001 From: nossr50 Date: Sun, 26 Dec 2010 16:44:35 -0800 Subject: [PATCH] Now player brackets are colored based on their name color. Actually I need this to be group prefix, but am too lazy to change it in this commit. --- vMinecraftChat.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vMinecraftChat.java b/vMinecraftChat.java index fa7e9e32b..c1d029a6f 100644 --- a/vMinecraftChat.java +++ b/vMinecraftChat.java @@ -459,8 +459,8 @@ public class vMinecraftChat { public static boolean quote(Player player, String message) { //Format the name - String playerName = Colors.White + "<" + getName(player) - + Colors.White + "> "; + String playerName = player.getColor() + "<" + getName(player) + + player.getColor() + "> "; if(vMinecraftSettings.getInstance().greentext()) { //Log the chat log.log(Level.INFO, "<"+player.getName()+"> " + message); @@ -504,8 +504,8 @@ public class vMinecraftChat { public static boolean quakeColors(Player player, String message) { //Format the name - String playerName = Colors.White + "<" - + getName(player) + Colors.White +"> "; + String playerName = player.getColor() + "<" + + getName(player) + player.getColor() +"> "; if(vMinecraftSettings.getInstance().quakeColors()) { String color = vMinecraftUsers.getProfile(player).getColor();