Get rid of unnecssary break

This commit is contained in:
Sirz Benjie 2025-02-06 22:28:29 -06:00
parent 449162720a
commit 4f02c25877
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -660,7 +660,6 @@ export default class Move implements Localizable {
// by another move, such as via metronome.
}
return this.hasFlag(MoveFlags.IGNORE_ABILITIES) && !isFollowUp;
break;
case MoveFlags.IGNORE_PROTECT:
if (user.hasAbilityWithAttr(IgnoreProtectOnContactAbAttr)
&& this.doesFlagEffectApply({ flag: MoveFlags.MAKES_CONTACT, user, target: null })) {