Update battler-tags.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-06-15 13:38:40 -04:00 committed by GitHub
parent c8308505a7
commit a3da9c590b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1492,7 +1492,7 @@ export class WrapTag extends DamagingTrapTag {
getTrapMessage(pokemon: Pokemon): string { getTrapMessage(pokemon: Pokemon): string {
const source = this.getSourcePokemon(); const source = this.getSourcePokemon();
if (!source) { if (!source) {
console.warn(`Failed to get source Pokemon for ClampTag getTrapMessage; id: ${this.sourceId}`); console.warn(`Failed to get source Pokemon for WrapTag getTrapMessage; id: ${this.sourceId}`);
return "ERROR - CHECK CONSOLE AND REPORT"; return "ERROR - CHECK CONSOLE AND REPORT";
} }