mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Added typehints to HelpCommand
This commit is contained in:
parent
2db2e8cfc4
commit
fafbd500e1
@ -64,6 +64,7 @@ class HelpCommand extends VanillaCommand{
|
||||
}
|
||||
|
||||
if($command === ""){
|
||||
/** @var Command[][] $commands */
|
||||
$commands = [];
|
||||
foreach($sender->getServer()->getCommandMap()->getCommands() as $command){
|
||||
if($command->testPermissionSilent($sender)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user