Inserts break to prevent fall through in checkFlag
This commit is contained in:
parent
828897316e
commit
ac5c3b8739
|
@ -595,6 +595,7 @@ export default class Move implements Localizable {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case MoveFlags.IGNORE_PROTECT:
|
||||
if (user.hasAbilityWithAttr(IgnoreProtectOnContactAbAttr) &&
|
||||
this.checkFlag(MoveFlags.MAKES_CONTACT, user, target)) {
|
||||
|
|
Loading…
Reference in New Issue