Re-add public, remove unnecessary default value in battler-tags.ts

This commit is contained in:
NightKev 2025-06-09 19:57:21 -07:00
parent 483315895f
commit 95d75b5107

View File

@ -392,7 +392,7 @@ export class GorillaTacticsTag extends MoveRestrictionBattlerTag {
* @override * @override
* @param source Gorilla Tactics' {@linkcode BattlerTag} information * @param source Gorilla Tactics' {@linkcode BattlerTag} information
*/ */
override loadTag(source: BattlerTag | any): void { public override loadTag(source: BattlerTag | any): void {
super.loadTag(source); super.loadTag(source);
this.moveId = source.moveId; this.moveId = source.moveId;
} }
@ -1129,7 +1129,7 @@ export class EncoreTag extends MoveRestrictionBattlerTag {
} }
canAdd(pokemon: Pokemon): boolean { canAdd(pokemon: Pokemon): boolean {
const lastMove = pokemon.getLastNonVirtualMove(false); const lastMove = pokemon.getLastNonVirtualMove();
if (!lastMove) { if (!lastMove) {
return false; return false;
} }