mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 13:47:33 +01:00
fix(event): correct logic for various Valentine's items
This commit is contained in:
@@ -475,7 +475,7 @@ spells.special = {
|
||||
target: 'user',
|
||||
notes: t('valentineCardNotes'),
|
||||
canOwn () {
|
||||
return false;
|
||||
return moment().isBetween('2023-02-13T08:00-05:00', '2023-02-17T23:59-05:00');
|
||||
},
|
||||
cast (user, target) {
|
||||
if (user === target) {
|
||||
|
||||
Reference in New Issue
Block a user