From ba0049a8df60cc99c022e60134fe43d4b4aa4174 Mon Sep 17 00:00:00 2001 From: cerevisiae Date: Tue, 7 Dec 2010 22:59:23 -0600 Subject: [PATCH] Fixed some formatting for whispers. --- vMinecraftCommands.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vMinecraftCommands.java b/vMinecraftCommands.java index 83e80f516..3ffda61e5 100644 --- a/vMinecraftCommands.java +++ b/vMinecraftCommands.java @@ -83,10 +83,12 @@ public class vMinecraftCommands{ //Send the message to the targeted player and the sender vMinecraftChat.sendMessage(player, toPlayer, Colors.LightGreen + "[" + Colors.White + "From:" - + vMinecraftChat.getName(player) + Colors.LightGreen + "]" + msg); + + vMinecraftChat.getName(player) + Colors.LightGreen + "] " + + Colors.White + msg); vMinecraftChat.sendMessage(player, player, Colors.LightGreen + "[" + Colors.White + "To:" - + vMinecraftChat.getName(toPlayer) + Colors.LightGreen + "]" + msg); + + vMinecraftChat.getName(toPlayer) + Colors.LightGreen + "] " + + Colors.White + msg); //Set the last massager for each player vMinecraftUsers.players.findProfile(player).setMessage(toPlayer); vMinecraftUsers.players.findProfile(toPlayer).setMessage(player);