fix(content): auto rollout of potion didn't work?

This commit is contained in:
Sabe Jones
2020-12-22 09:14:00 -06:00
parent 75f198789b
commit b56f0cfeeb

View File

@@ -410,10 +410,7 @@ const premium = {
canBuy: hasQuestAchievementFunction('blackPearl'), canBuy: hasQuestAchievementFunction('blackPearl'),
_addlNotes: t('premiumPotionUnlimitedNotes'), _addlNotes: t('premiumPotionUnlimitedNotes'),
}, },
}; StainedGlass: {
if (moment().isAfter('2020-12-22T08:00-04:00')) {
premium.StainedGlass = {
value: 2, value: 2,
text: t('hatchingPotionStainedGlass'), text: t('hatchingPotionStainedGlass'),
limited: true, limited: true,
@@ -424,8 +421,8 @@ if (moment().isAfter('2020-12-22T08:00-04:00')) {
canBuy () { canBuy () {
return moment().isBetween('2020-12-22T08:00-04:00', '2021-01-31T20:00-04:00'); return moment().isBetween('2020-12-22T08:00-04:00', '2021-01-31T20:00-04:00');
}, },
},
}; };
}
const wacky = { const wacky = {
Veggie: { Veggie: {