feat(content): Magic Hatching Potion Quest

This commit is contained in:
Sabe Jones
2019-05-13 11:02:07 -05:00
parent e9163a1bb2
commit 56040eebaf
43 changed files with 56 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ shops.getMarketCategories = function getMarket (user, language) {
notes: i18n.t('premiumPotionNoDropExplanation', language),
};
premiumHatchingPotionsCategory.items = sortBy(values(content.hatchingPotions)
.filter(hp => hp.limited && hp.canBuy())
.filter(hp => hp.limited && hp.canBuy(user))
.map(premiumHatchingPotion => {
return getItemInfo(user, 'premiumHatchingPotion', premiumHatchingPotion, officialPinnedItems, language);
}), 'key');