mirror of
https://github.com/kaboomserver/extras.git
synced 2025-08-03 11:06:27 +00:00
Something, something
This commit is contained in:
parent
5b5a6943fb
commit
673bef2212
6 changed files with 60 additions and 18 deletions
|
@ -20,7 +20,7 @@ public final class CommandUsername implements CommandExecutor {
|
|||
|
||||
if (args.length == 0) {
|
||||
player.sendMessage(ChatColor.RED + "Usage: /" + label + " <username>");
|
||||
} else if (!Main.skinInProgress.contains(player.getUniqueId())) {
|
||||
} else if (!SkinDownloader.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