private function parseTexturesProperties($propertiesArray)
    {
        foreach($propertiesArray as $property) {
            if($property['name'] == 'textures') {
                $texturesJSON = json_decode(base64_decode($property['value']), true);

                $properties = new PlayerProperties(
                    $texturesJSON['timestamp'],
                    $texturesJSON['profileId'],
                    $texturesJSON['profileName']
                );

                if(isset($texturesJSON['isPublic'])) {
                    $properties->setPublic($texturesJSON['isPublic']);
                }

                if(array_key_exists('SKIN', $texturesJSON['textures'])) {
                    $properties->setSkinTexture($texturesJSON['textures']['SKIN']['url']);
                }
                if(array_key_exists('CAPE', $texturesJSON['textures'])) {
                    $properties->setCapeTexture($texturesJSON['textures']['CAPE']['url']);
                }

                return $properties;
            }
        }
        return null;
    }