mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix seasonal gear filtering
This commit is contained in:
@@ -149,6 +149,7 @@ shops.getMarketGearCategories = function getMarketGear (user, language) {
|
||||
|
||||
const result = filter(content.gear.flat, gearItem => {
|
||||
if (gearItem.klass === classType) return true;
|
||||
if (gearItem.season) return false;
|
||||
const classShift = {
|
||||
items: user.items,
|
||||
stats: {
|
||||
|
||||
Reference in New Issue
Block a user