mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 03:16:35 +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 === ""){
|
if($command === ""){
|
||||||
|
/** @var Command[][] $commands */
|
||||||
$commands = [];
|
$commands = [];
|
||||||
foreach($sender->getServer()->getCommandMap()->getCommands() as $command){
|
foreach($sender->getServer()->getCommandMap()->getCommands() as $command){
|
||||||
if($command->testPermissionSilent($sender)){
|
if($command->testPermissionSilent($sender)){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user