From e243979611f6855997fbc704bbc499781171578e Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Mon, 1 Mar 2021 21:19:37 -0600 Subject: Update hypixelCached.js --- build/hypixelCached.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') 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 -- cgit