瀏覽代碼

Fixed /prefixother and prefix colors

cerevisiae 14 年之前
父節點
當前提交
46ca332645
共有 2 個文件被更改,包括 3 次插入1 次删除
  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
     	//Add the suffix if there is one
     	output += vMinecraftUsers.getProfile(player).getSuffix();
     	output += vMinecraftUsers.getProfile(player).getSuffix();
     	
     	
+    	output = Colors.White + output;
+    	
     	/*if(playerPrefix != null && !playerPrefix.isEmpty())
     	/*if(playerPrefix != null && !playerPrefix.isEmpty())
     		output = applyColors(playerPrefix.substring(1)) + output;*/
     		output = applyColors(playerPrefix.substring(1)) + output;*/
     	
     	

+ 1 - 1
vMinecraftCommands.java

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