aboutsummaryrefslogtreecommitdiff
path: root/src/hypixelCached.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/hypixelCached.ts')
-rw-r--r--src/hypixelCached.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts
index 74b1366..33d33eb 100644
--- a/src/hypixelCached.ts
+++ b/src/hypixelCached.ts
@@ -116,6 +116,11 @@ export async function fetchSkyblockProfiles(playerUuid: string): Promise<CleanPr
args: {
uuid: playerUuid
}},
+ null,
+ {
+ // only the inventories for the main player are generated, this is for optimization purposes
+ mainMemberUuid: playerUuid
+ }
)
const basicProfiles: CleanProfile[] = []
@@ -154,8 +159,6 @@ async function fetchBasicProfiles(user: string): Promise<CleanBasicProfile[]> {
const profiles = player.profiles
basicProfilesCache.set(playerUuid, profiles)
- console.log(player)
-
// cache the profile names and uuids to profileNameCache because we can
for (const profile of profiles)
profileNameCache.set(`${playerUuid}.${profile.uuid}`, profile.name)