Skip to content

Commit

Permalink
fix Exception Message
Browse files Browse the repository at this point in the history
  • Loading branch information
Susucre committed Apr 30, 2024
1 parent 6e56d92 commit 2b55e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mage/src/main/java/mage/game/events/BatchEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void addEvent(T event) {
throw new IllegalStateException("Wrong code usage. Batch event initiated with single target id, but trying to add event with different target id");
}
if (singleSourceId && !getSourceId().equals(event.getSourceId())) {
throw new IllegalStateException("Wrong code usage. Batch event initiated with single source id, but trying to add event with different target id");
throw new IllegalStateException("Wrong code usage. Batch event initiated with single source id, but trying to add event with different source id");
}
this.events.add(event);
}
Expand Down

0 comments on commit 2b55e94

Please sign in to comment.