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 67d34d9..880d0fb 100644
--- a/build/hypixelCached.js
+++ b/build/hypixelCached.js
@@ -83,7 +83,7 @@ async function uuidFromUser(user) {
const username = usernameCache.get(util_1.undashUuid(user));
// if it has .then, then that means its a waitForSet promise. This is done to prevent requests made while it is already requesting
if (username.then) {
- return (await username()).key;
+ return (await username).key;
}
else
return util_1.undashUuid(user);