mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
fix(content): auto rollout of potion didn't work?
This commit is contained in:
@@ -410,10 +410,7 @@ const premium = {
|
||||
canBuy: hasQuestAchievementFunction('blackPearl'),
|
||||
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
||||
},
|
||||
};
|
||||
|
||||
if (moment().isAfter('2020-12-22T08:00-04:00')) {
|
||||
premium.StainedGlass = {
|
||||
StainedGlass: {
|
||||
value: 2,
|
||||
text: t('hatchingPotionStainedGlass'),
|
||||
limited: true,
|
||||
@@ -424,8 +421,8 @@ if (moment().isAfter('2020-12-22T08:00-04:00')) {
|
||||
canBuy () {
|
||||
return moment().isBetween('2020-12-22T08:00-04:00', '2021-01-31T20:00-04:00');
|
||||
},
|
||||
};
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
const wacky = {
|
||||
Veggie: {
|
||||
|
||||
Reference in New Issue
Block a user