aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/mojang.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/mojang.js b/build/mojang.js
index dac5789..e5b6ee6 100644
--- a/build/mojang.js
+++ b/build/mojang.js
@@ -60,10 +60,9 @@ async function profileFromUsername(username) {
data = JSON.parse(rawData);
}
catch { }
- 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 { uuid: null, username: null };
+ // console.log('mojang api failed, trying ashcon as backup')
// return await profileFromUsernameAlternative(username)
}
return {