mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +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,
|
||||
score: player.score,
|
||||
position: firstPlayerIndex + index + 1,
|
||||
clan: clanData[player.id]!.clan?.tag,
|
||||
nickname: clanData[player.id]!.account_name,
|
||||
clan: clanData[player.id]?.clan?.tag,
|
||||
nickname:
|
||||
clanData[player.id]?.account_name ??
|
||||
`Unknown Player ${player.id}`,
|
||||
}) satisfies SimplifiedPlayer,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user