diff options
Diffstat (limited to 'build/cleaners/skyblock/member.js')
-rw-r--r-- | build/cleaners/skyblock/member.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/cleaners/skyblock/member.js b/build/cleaners/skyblock/member.js index 2e07f39..5c26e40 100644 --- a/build/cleaners/skyblock/member.js +++ b/build/cleaners/skyblock/member.js @@ -47,6 +47,8 @@ async function cleanSkyBlockProfileMemberResponse(member, included = null) { // profiles.members[] const inventoriesIncluded = included == null || included.includes('inventories'); const player = await cached.fetchPlayer(member.uuid); + if (!player) + return; return { uuid: member.uuid, username: player.username, |