aboutsummaryrefslogtreecommitdiff
path: root/build/mojang.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/mojang.js')
-rw-r--r--build/mojang.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/mojang.js b/build/mojang.js
index 6ff52b7..dac5789 100644
--- a/build/mojang.js
+++ b/build/mojang.js
@@ -63,7 +63,8 @@ async function profileFromUsername(username) {
console.log('mojang returned', rawData);
if (!(data === null || data === void 0 ? void 0 : data.id)) {
console.log('mojang api failed, trying ashcon as backup');
- return await profileFromUsernameAlternative(username);
+ return { uuid: null, username: null };
+ // return await profileFromUsernameAlternative(username)
}
return {
uuid: data.id,