roavatar-renderer 1.5.10 → 1.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33750,11 +33750,10 @@ class Outfit {
|
|
|
33750
33750
|
assetDetailsRequest.push({ itemType: "Asset", id: assetToAdd.id });
|
|
33751
33751
|
}
|
|
33752
33752
|
const assetDetails = await API.Catalog.GetItemDetails(auth, assetDetailsRequest);
|
|
33753
|
-
if (assetDetails instanceof Response) {
|
|
33754
|
-
|
|
33755
|
-
|
|
33756
|
-
|
|
33757
|
-
this.addAsset(assetDetail.id, assetDetail.assetType, assetDetail.name, assetDetail.supportsHeadShapes);
|
|
33753
|
+
if (!(assetDetails instanceof Response)) {
|
|
33754
|
+
for (const assetDetail of assetDetails.data) {
|
|
33755
|
+
this.addAsset(assetDetail.id, assetDetail.assetType, assetDetail.name, assetDetail.supportsHeadShapes);
|
|
33756
|
+
}
|
|
33758
33757
|
}
|
|
33759
33758
|
for (const asset of assetsToAdd) {
|
|
33760
33759
|
const assetId = asset.id;
|