From 3d4d9e51880aa665541e335bcd5dfa8c9bce2299 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 9 Apr 2022 13:19:20 -0500 Subject: return whole player in coopInvitation --- src/database.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/database.ts') diff --git a/src/database.ts b/src/database.ts index f6de171..08413af 100644 --- a/src/database.ts +++ b/src/database.ts @@ -440,12 +440,7 @@ export async function fetchMemberLeaderboard(name: string): Promise => { - const player = await cached.fetchBasicPlayer(i.uuid) - - if (player) { - // we don't need this in leaderboards - delete player.claimed - } + const player = await cached.fetchBasicPlayer(i.uuid, false) return { player, -- cgit