fix: all commands now work with a lack of tankopedia entries

This commit is contained in:
TresAbhi committed 2023-07-07 01:08:00 +00:00
1 parent f907c79d68
commit ca208e44a1
12 files changed
+59 -26

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ export default async function evolution<Type extends StatType>(
: undefined;
} else {
nameDiscriminator = `(${await resolveTankName(tankId!)})`;
image = (await tankopedia)[tankId!].images.normal;
image = (await tankopedia)[tankId!]?.images.normal;
}
let histories: Histories;