mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
fix(content): auto rollout of potion didn't work?
This commit is contained in:
parent
75f198789b
commit
b56f0cfeeb
1 changed files with 3 additions and 6 deletions
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue