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.
Files changed (2) hide show
  1. package/dist/index.js +4 -5
  2. 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
- return assetDetails;
33755
- }
33756
- for (const assetDetail of assetDetails.data) {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roavatar-renderer",
3
- "version": "1.5.10",
3
+ "version": "1.5.11",
4
4
  "description": "A renderer for Roblox avatars, used by the RoAvatar extension.",
5
5
  "author": "steinan",
6
6
  "type": "module",