aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/hypixelCached.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/hypixelCached.js b/build/hypixelCached.js
index 87f4a9e..00cc828 100644
--- a/build/hypixelCached.js
+++ b/build/hypixelCached.js
@@ -112,7 +112,7 @@ async function uuidFromUser(user) {
// 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;
}
// remove dashes from the uuid so its more normal