aboutsummaryrefslogtreecommitdiff
path: root/src/hypixel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/hypixel.ts')
-rw-r--r--src/hypixel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts
index 464f3dd..4d3e692 100644
--- a/src/hypixel.ts
+++ b/src/hypixel.ts
@@ -100,7 +100,7 @@ export async function fetchUser({ user, uuid, username }: UserAny, included: Inc
if (!includeProfiles)
basicProfilesData = playerData?.profiles
if (playerData)
- playerData.profiles = undefined
+ delete playerData.profiles
}
if (includeProfiles) {
profilesData = await cached.fetchSkyblockProfiles(uuid)