mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Player: remove obsolete TODO
This commit is contained in:
parent
3be6665e3d
commit
245f5c6bef
@ -666,8 +666,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
}
|
||||
|
||||
public function sendCommandData(){
|
||||
//TODO: this needs fixing
|
||||
|
||||
$pk = new AvailableCommandsPacket();
|
||||
foreach($this->server->getCommandMap()->getCommands() as $name => $command){
|
||||
if(isset($pk->commandData[$command->getName()]) or $command->getName() === "help"){
|
||||
|
Loading…
x
Reference in New Issue
Block a user