aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hypixelCached.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts
index 5338229..71e9de9 100644
--- a/src/hypixelCached.ts
+++ b/src/hypixelCached.ts
@@ -102,7 +102,7 @@ export async function uuidFromUser(user: string): Promise<string> {
// not cached, actually fetch mojang api now
let { uuid, username } = await mojang.mojangDataFromUser(user)
if (!uuid) {
- usernameCache.set(uuid, null)
+ usernameCache.set(user, null)
return
}