mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
fix: null clan
This commit is contained in:
1 parent
6add54e86d
commit
a535a07810
1 file changed
+4
-2
@@ -316,8 +316,10 @@ export const ratingsCommand = new Promise<CommandRegistryRaw>(
|
|||||||
id: player.id,
|
id: player.id,
|
||||||
score: player.score,
|
score: player.score,
|
||||||
position: firstPlayerIndex + index + 1,
|
position: firstPlayerIndex + index + 1,
|
||||||
clan: clanData[player.id]!.clan?.tag,
|
clan: clanData[player.id]?.clan?.tag,
|
||||||
nickname: clanData[player.id]!.account_name,
|
nickname:
|
||||||
|
clanData[player.id]?.account_name ??
|
||||||
|
`Unknown Player ${player.id}`,
|
||||||
}) satisfies SimplifiedPlayer,
|
}) satisfies SimplifiedPlayer,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user