mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-01 21:24:43 +02:00
Fixed bug with prefix not working whatsoever
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user