mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
fix(event): filter out past seasonal sets in Market
also block purchase of special spells outside their events also remove hardcoded dates from seasonal shop intro text used on mobile
This commit is contained in:
@@ -157,6 +157,7 @@ shops.getMarketGearCategories = function getMarketGear (user, language) {
|
||||
if (
|
||||
gearItem.specialClass === classType
|
||||
&& user.items.gear.owned[gearItem.key] !== false
|
||||
&& gearItem.set === seasonalShopConfig.pinnedSets[gearItem.specialClass]
|
||||
) return gearItem.canOwn(classShift);
|
||||
return false;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user