Fixed bug with prefix not working whatsoever

This commit is contained in:
nossr50 2011-01-12 13:52:52 -08:00
parent 4698f4a5dd
commit 985b49b668

View File

@ -429,10 +429,9 @@ private static HashMap<String, Player> hidden = new HashMap<String, Player>();
if(args.length >= 3 && args[1] != null) if(args.length >= 3 && args[1] != null)
{ {
String tagbag = etc.combineSplit(2, args, ""); vUsers.players.findProfile(other).setTag(args[2]);
vUsers.players.findProfile(other).setTag(tagbag);
player.sendMessage(Colors.LightGreen + "Prefix changed"); player.sendMessage(Colors.LightGreen + "Prefix changed");
log.log(Level.INFO, player + " changed their prefix to " + tagbag); log.log(Level.INFO, player + " changed their prefix to " + args[2]);
} }
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }