"ERROR," -> "Wrong code usage:" in IllegalArgumentException

This commit is contained in:
Steven Knipe 2023-10-01 22:41:24 -07:00
parent 731b391306
commit 47fc192a36
8 changed files with 9 additions and 9 deletions

View file

@ -50,7 +50,7 @@ public class PermanentCard extends PermanentImpl {
}
}
if (!goodForBattlefield) {
throw new IllegalArgumentException("ERROR, can't create permanent card from split or mdf: " + card.getName());
throw new IllegalArgumentException("Wrong code usage: can't create permanent card from split or mdf: " + card.getName());
}
this.card = card;