forked from External/mage
cheats: fixed broken emblem commands (example: emblem:Human:ElspethSunsChampionEmblem:1)
This commit is contained in:
parent
150d76dcf9
commit
d97b034711
4 changed files with 11 additions and 4 deletions
|
|
@ -72,6 +72,10 @@ public class Spell extends StackObjectImpl implements Card {
|
|||
}
|
||||
|
||||
private Spell(Card card, SpellAbility ability, UUID controllerId, Zone fromZone, Game game, boolean isCopy) {
|
||||
if (card == null) {
|
||||
throw new IllegalArgumentException("Wrong code usage: can't create spell without card: " + ability, new Throwable());
|
||||
}
|
||||
|
||||
Card affectedCard = card;
|
||||
|
||||
// TODO: must be removed after transform cards (one side) migrated to MDF engine (multiple sides)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue