Update functions.js

This commit is contained in:
Lawin0129
2022-02-17 23:20:05 +00:00
parent 6f09a82363
commit 13f8992514

View File

@@ -86,7 +86,9 @@ function getItemShop() {
CatalogEntry.prices[0].regularPrice = CatalogConfig[value].price
CatalogEntry.prices[0].finalPrice = CatalogConfig[value].price
catalog.storefronts[i].catalogEntries.push(CatalogEntry);
if (CatalogEntry.itemGrants.length != 0) {
catalog.storefronts[i].catalogEntries.push(CatalogEntry);
}
}
})
}
@@ -113,7 +115,9 @@ function getItemShop() {
CatalogEntry.prices[0].regularPrice = CatalogConfig[value].price
CatalogEntry.prices[0].finalPrice = CatalogConfig[value].price
catalog.storefronts[i].catalogEntries.push(CatalogEntry);
if (CatalogEntry.itemGrants.length != 0) {
catalog.storefronts[i].catalogEntries.push(CatalogEntry);
}
}
})
}