mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-14 03:12:22 +01:00
Update functions.js
This commit is contained in:
@@ -86,8 +86,10 @@ function getItemShop() {
|
|||||||
CatalogEntry.prices[0].regularPrice = CatalogConfig[value].price
|
CatalogEntry.prices[0].regularPrice = CatalogConfig[value].price
|
||||||
CatalogEntry.prices[0].finalPrice = CatalogConfig[value].price
|
CatalogEntry.prices[0].finalPrice = CatalogConfig[value].price
|
||||||
|
|
||||||
|
if (CatalogEntry.itemGrants.length != 0) {
|
||||||
catalog.storefronts[i].catalogEntries.push(CatalogEntry);
|
catalog.storefronts[i].catalogEntries.push(CatalogEntry);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -113,8 +115,10 @@ function getItemShop() {
|
|||||||
CatalogEntry.prices[0].regularPrice = CatalogConfig[value].price
|
CatalogEntry.prices[0].regularPrice = CatalogConfig[value].price
|
||||||
CatalogEntry.prices[0].finalPrice = CatalogConfig[value].price
|
CatalogEntry.prices[0].finalPrice = CatalogConfig[value].price
|
||||||
|
|
||||||
|
if (CatalogEntry.itemGrants.length != 0) {
|
||||||
catalog.storefronts[i].catalogEntries.push(CatalogEntry);
|
catalog.storefronts[i].catalogEntries.push(CatalogEntry);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user