[Bug] Fix monotype selector image (#6471)

This commit is contained in:
Fabi 2025-09-03 04:07:40 +02:00 committed by GitHub
parent 848c1f01e0
commit 9fc31350f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -764,7 +764,7 @@ export class SingleTypeChallenge extends Challenge {
}
getValue(overrideValue: number = this.value): string {
return i18next.t(`pokemonInfo:type.${toCamelCase(PokemonType[overrideValue - 1])}`);
return PokemonType[overrideValue - 1].toLowerCase();
}
getDescription(overrideValue: number = this.value): string {