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 28, 2024
1 parent 933b733 commit f6b1824
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 @@ -54,7 +54,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 f6b1824

Please sign in to comment.