diff options
author | mat <github@matdoes.dev> | 2021-06-03 15:11:32 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-06-03 15:11:32 -0500 |
commit | 7caf789818a3463df27e441a8c5dd5a47798ac81 (patch) | |
tree | 25df1c7dc574ccd5d71d1b54ae78f788496b536b /build | |
parent | b69726c8a1d59a1f1bcb891fb943f7252b31044c (diff) | |
download | skyblock-api-7caf789818a3463df27e441a8c5dd5a47798ac81.tar.gz skyblock-api-7caf789818a3463df27e441a8c5dd5a47798ac81.tar.bz2 skyblock-api-7caf789818a3463df27e441a8c5dd5a47798ac81.zip |
maybe fix error
Diffstat (limited to 'build')
-rw-r--r-- | build/mojang.js | 2 |
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 |