aboutsummaryrefslogtreecommitdiff
path: root/src/hypixelCached.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-02-13 21:34:00 -0600
committermat <github@matdoes.dev>2022-02-13 21:34:00 -0600
commit2a6c5997c453e8ffa382db2e0ad5cb5db4f73db1 (patch)
tree3362993151dd7db2e2b5776ea83d1723999ab9bb /src/hypixelCached.ts
parentf20cdf862a6c52b0088279656592bd710a0051c3 (diff)
downloadskyblock-api-2a6c5997c453e8ffa382db2e0ad5cb5db4f73db1.tar.gz
skyblock-api-2a6c5997c453e8ffa382db2e0ad5cb5db4f73db1.tar.bz2
skyblock-api-2a6c5997c453e8ffa382db2e0ad5cb5db4f73db1.zip
maybe fix some leaderboards hanging
Diffstat (limited to 'src/hypixelCached.ts')
-rw-r--r--src/hypixelCached.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts
index b49a190..3130f41 100644
--- a/src/hypixelCached.ts
+++ b/src/hypixelCached.ts
@@ -263,7 +263,7 @@ async function fetchBasicProfiles(user: string): Promise<CleanBasicProfile[] | n
const player = await fetchPlayer(playerUuid)
if (!player) {
- console.log('bruh playerUuid', user, playerUuid)
+ // this happens when the player changed their name recently and the old name is cached on hypixel
return []
}
const profiles = player.profiles