diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hypixelCached.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts index 83360a9..8852a74 100644 --- a/src/hypixelCached.ts +++ b/src/hypixelCached.ts @@ -69,7 +69,7 @@ export async function uuidFromUser(user: string): Promise<string> { const username: any = usernameCache.get(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 undashUuid(user) } |