mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 02:42:22 +01:00
Update functions.js
This commit is contained in:
@@ -86,7 +86,9 @@ 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
|
||||||
|
|
||||||
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].regularPrice = CatalogConfig[value].price
|
||||||
CatalogEntry.prices[0].finalPrice = 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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user