Browse Source

Fixed /prefixother and prefix colors

cerevisiae 14 years ago
parent
commit
46ca332645
2 changed files with 3 additions and 1 deletions
  1. 2 0
      vMinecraftChat.java
  2. 1 1
      vMinecraftCommands.java

+ 2 - 0
vMinecraftChat.java

@@ -249,6 +249,8 @@ public class vMinecraftChat {
     	//Add the suffix if there is one
     	output += vMinecraftUsers.getProfile(player).getSuffix();
     	
+    	output = Colors.White + output;
+    	
     	/*if(playerPrefix != null && !playerPrefix.isEmpty())
     		output = applyColors(playerPrefix.substring(1)) + output;*/
     	

+ 1 - 1
vMinecraftCommands.java

@@ -214,7 +214,7 @@ public class vMinecraftCommands{
             }
             
             if(args.length >= 2 && args[0] != null){
-                player.setPrefix(args[1]);
+                other.setPrefix(args[1]);
             }
             
             if(args.length >= 3 && args[1] != null){