Update inventoryController.ts
All checks were successful
Build / build (pull_request) Successful in 2m35s

This commit is contained in:
AMelonInsideLemon 2025-10-09 11:35:53 +02:00
parent ddf5468bff
commit e39291b077

View File

@ -332,6 +332,7 @@ export const getInventoryResponse = async (
inventoryResponse.FlavourItems.push({ ItemType: uniqueName });
}
});
}
if (config.unlockAllSkins) {
const ownedWeaponSkins = new Set<string>(inventoryResponse.WeaponSkins.map(x => x.ItemType));
@ -346,7 +347,6 @@ export const getInventoryResponse = async (
}
}
}
}
if (typeof config.spoofMasteryRank === "number" && config.spoofMasteryRank >= 0) {
inventoryResponse.PlayerLevel = config.spoofMasteryRank;