From 7caf789818a3463df27e441a8c5dd5a47798ac81 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 3 Jun 2021 15:11:32 -0500 Subject: maybe fix error --- build/mojang.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build') 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 -- cgit