mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-19 15:35:52 +00:00
NetworkSession: apparently aliases are already a list at this point???
This commit is contained in:
parent
d1fa6edc50
commit
2e32c50670
@ -1110,7 +1110,7 @@ class NetworkSession{
|
||||
//work around a client bug which makes the original name not show when aliases are used
|
||||
$aliases[] = $lname;
|
||||
}
|
||||
$aliasObj = new CommandEnum(ucfirst($command->getLabel()) . "Aliases", array_values($aliases));
|
||||
$aliasObj = new CommandEnum(ucfirst($command->getLabel()) . "Aliases", $aliases);
|
||||
}
|
||||
|
||||
$description = $command->getDescription();
|
||||
|
Loading…
x
Reference in New Issue
Block a user