fix seasonal gear filtering

This commit is contained in:
Phillip Thelen
2024-05-14 11:56:04 +02:00
parent 6591f6780c
commit efe8cff1ad
3 changed files with 26 additions and 10 deletions

View File

@@ -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: {