mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 05:37:22 +01:00
fix(gala): correct dates on seeds and customizations
This commit is contained in:
@@ -360,9 +360,9 @@ spells.special = {
|
||||
previousPurchase: true,
|
||||
target: 'user',
|
||||
notes: t('spellSpecialShinySeedNotes'),
|
||||
event: EVENTS.spring2021,
|
||||
event: EVENTS.spring2022,
|
||||
canOwn () {
|
||||
return moment().isBetween('2021-04-06T08:00-05:00', EVENTS.spring2021.end);
|
||||
return moment().isBetween('2022-04-14T08:00-05:00', EVENTS.spring2022.end);
|
||||
},
|
||||
cast (user, target, req) {
|
||||
if (!user.items.special.shinySeed) throw new NotAuthorized(t('spellNotOwned')(req.language));
|
||||
|
||||
Reference in New Issue
Block a user