aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/hypixel.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/hypixel.js b/build/hypixel.js
index 4e9a2a2..8750170 100644
--- a/build/hypixel.js
+++ b/build/hypixel.js
@@ -122,6 +122,8 @@ exports.fetchUser = fetchUser;
*/
async function fetchMemberProfile(user, profile, customization) {
const playerUuid = await cached.uuidFromUser(user);
+ if (!playerUuid)
+ return;
// we don't await the promise immediately so it can load while we do other stuff
const websiteAccountPromise = customization ? database_1.fetchAccount(playerUuid) : null;
const profileUuid = await cached.fetchProfileUuid(user, profile);