mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Missed one
TODO: fix this properly
This commit is contained in:
parent
0ac04b52ff
commit
bd5bbbea10
@ -511,9 +511,10 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
||||
$data = new \stdClass();
|
||||
$count = 0;
|
||||
foreach($this->server->getCommandMap()->getCommands() as $command){
|
||||
if(!$command->testPermissionSilent($this)){
|
||||
//TODO: fix command permission checks on join
|
||||
/*if(!$command->testPermissionSilent($this)){
|
||||
continue;
|
||||
}
|
||||
}*/
|
||||
++$count;
|
||||
$data->{$command->getName()}->versions[0] = $command->generateCustomCommandData($this);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user