mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 08:36:45 +01:00
Fixed bug with prefix not working whatsoever
This commit is contained in:
parent
4698f4a5dd
commit
985b49b668
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user