diff --git a/structure/functions.js b/structure/functions.js index d9c240b..ceec0bd 100644 --- a/structure/functions.js +++ b/structure/functions.js @@ -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); + } } }) }