From 8085b43258557dca69f1cd0aa98b997f6082a0a1 Mon Sep 17 00:00:00 2001 From: cerevisiae Date: Thu, 9 Dec 2010 22:55:33 -0600 Subject: [PATCH] Minor fix with prefixother --- vMinecraftCommands.java | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/vMinecraftCommands.java b/vMinecraftCommands.java index 6c92cdb8d..7539ced31 100644 --- a/vMinecraftCommands.java +++ b/vMinecraftCommands.java @@ -215,7 +215,7 @@ public class vMinecraftCommands{ } if(args.length >= 3 && args[1] != null){ - vMinecraftUsers.players.findProfile(player).setTag(args[2]); + vMinecraftUsers.players.findProfile(other).setTag(args[2]); } return EXIT_SUCCESS; } @@ -232,19 +232,18 @@ public class vMinecraftCommands{ return EXIT_SUCCESS; } - //Check if the prefix is too long - if(args[1].length() > 15) - { - vMinecraftChat.sendMessage(player, player, Colors.Rose - + "The prefix you entered was too long."); - return EXIT_SUCCESS; - } - if(args.length >= 1 && args[0] != null){ - player.setPrefix(args[1]); + player.setPrefix(args[0]); } if(args.length >= 2 && args[1] != null){ - vMinecraftUsers.players.findProfile(player).setTag(args[2]); + //Check if the prefix is too long + if(args[1].length() > 15) + { + vMinecraftChat.sendMessage(player, player, Colors.Rose + + "The prefix you entered was too long."); + return EXIT_SUCCESS; + } + vMinecraftUsers.players.findProfile(player).setTag(args[1]); } return EXIT_SUCCESS; } @@ -393,6 +392,7 @@ public class vMinecraftCommands{ + Colors.LightBlue + "b" + Colors.Rose + "c" + Colors.LightPurple + "d" + + Colors.Yellow + "e" + Colors.White + "f"); return EXIT_SUCCESS; }