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