aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mojang.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mojang.ts b/src/mojang.ts
index 580a2ab..2e88dbd 100644
--- a/src/mojang.ts
+++ b/src/mojang.ts
@@ -77,7 +77,8 @@ export async function profileFromUsername(username: string): Promise<MojangApiRe
if (!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,