make getFailedText public

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
muscode 2024-11-01 10:27:54 -06:00 committed by GitHub
parent e5a2a64d76
commit 596a8b88a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4967,7 +4967,7 @@ export class PostDamageForceSwitchAbAttr extends PostDamageAbAttr {
return false; return false;
} }
} }
getFailedText(user: Pokemon, target: Pokemon, move: Move, cancelled: Utils.BooleanHolder): string | null { public getFailedText(user: Pokemon, target: Pokemon, move: Move, cancelled: Utils.BooleanHolder): string | null {
return this.helper.getFailedText(target); return this.helper.getFailedText(target);
} }
} }