mirror of
https://github.com/kaboomserver/extras.git
synced 2025-07-22 21:43:48 +00:00
Move lists
This commit is contained in:
parent
ca17239065
commit
91a1b47054
8 changed files with 28 additions and 25 deletions
|
@ -18,7 +18,7 @@ class CommandUsername implements CommandExecutor {
|
|||
|
||||
if (args.length == 0) {
|
||||
player.sendMessage(ChatColor.RED + "Usage: /" + label + " <username>");
|
||||
} else if (!Main.usernameInProgress.contains(player.getUniqueId())) {
|
||||
} else if (!Main.skinInProgress.contains(player.getUniqueId())) {
|
||||
final String nameColor = ChatColor.translateAlternateColorCodes('&', String.join(" ", args));
|
||||
final String name = nameColor.substring(0, Math.min(16, nameColor.length()));
|
||||
final boolean shouldChangeUsername = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue