aboutsummaryrefslogtreecommitdiff
path: root/build/mojang.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/mojang.js')
-rw-r--r--build/mojang.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/mojang.js b/build/mojang.js
index 1c301da..b740c5a 100644
--- a/build/mojang.js
+++ b/build/mojang.js
@@ -87,6 +87,8 @@ async function profileFromUsernameAlternative(username) {
catch {
return { uuid: null, username: null };
}
+ if (!data.uuid)
+ return { uuid: null, username: null };
return {
uuid: util_1.undashUuid(data.uuid),
username: data.username