mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 09:13:43 +01:00 
			
		
		
		
	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.
This commit is contained in:
		| @@ -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(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 nossr50
					nossr50