pocketmine\Server::removePlayerListData PHP Method

removePlayerListData() public method

public removePlayerListData ( UUID $uuid, array $players = null )
$uuid pocketmine\utils\UUID
$players array
    public function removePlayerListData(UUID $uuid, array $players = null)
    {
        $pk = new PlayerListPacket();
        $pk->type = PlayerListPacket::TYPE_REMOVE;
        $pk->entries[] = [$uuid];
        Server::broadcastPacket($players === null ? $this->playerList : $players, $pk);
    }
Server