mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +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(){
|
public function sendCommandData(){
|
||||||
//TODO: this needs fixing
|
|
||||||
|
|
||||||
$pk = new AvailableCommandsPacket();
|
$pk = new AvailableCommandsPacket();
|
||||||
foreach($this->server->getCommandMap()->getCommands() as $name => $command){
|
foreach($this->server->getCommandMap()->getCommands() as $name => $command){
|
||||||
if(isset($pk->commandData[$command->getName()]) or $command->getName() === "help"){
|
if(isset($pk->commandData[$command->getName()]) or $command->getName() === "help"){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user