forked from External/mage
* Mindbreak Trap - Fixed a problem with exiling copied (e.g. by Storm)spells.
This commit is contained in:
parent
2974771cb5
commit
b7c0c1e8b4
2 changed files with 9 additions and 10 deletions
|
|
@ -137,8 +137,8 @@ public class ExileTargetEffect extends OneShotEffect {
|
|||
}
|
||||
} else {
|
||||
StackObject stackObject = game.getStack().getStackObject(targetId);
|
||||
if (stackObject instanceof Spell && ((Spell) stackObject).getCard() != null) {
|
||||
toExile.add(((Spell) stackObject).getCard());
|
||||
if (stackObject instanceof Spell) {
|
||||
toExile.add((Spell) stackObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue