Skip to content

Commit

Permalink
fix short circuit operator
Browse files Browse the repository at this point in the history
  • Loading branch information
jimga150 committed Feb 23, 2024
1 parent 2fd4f47 commit 342d2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mage.Sets/src/mage/cards/d/DonnaNoble.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public boolean checkEventType(GameEvent event, Game game) {
public boolean checkTrigger(GameEvent event, Game game) {
this.getTargets().clear();
DamagedBatchForPermanentsEvent dEvent = (DamagedBatchForPermanentsEvent) event;
return checkTriggerThis(dEvent) || checkTriggerPaired(dEvent, game);
return checkTriggerThis(dEvent) | checkTriggerPaired(dEvent, game);
}

boolean checkTriggerThis(DamagedBatchForPermanentsEvent dEvent) {
Expand Down

0 comments on commit 342d2f5

Please sign in to comment.