forked from External/mage
* Wheel of Sun and Moon - Fixed a bug that happened as Wheel of Sun and Moon tried to move the card of a spell cast to the library.
This commit is contained in:
parent
4a98e1ba07
commit
93825fff9c
2 changed files with 6 additions and 3 deletions
|
|
@ -636,6 +636,10 @@ public class Spell extends StackObjImpl implements Card {
|
|||
if (this.isCopiedSpell() && !zone.equals(Zone.STACK)) {
|
||||
return true;
|
||||
}
|
||||
Card card = game.getCard(getSourceId());
|
||||
if (card != null) {
|
||||
return card.moveToZone(zone, sourceId, game, flag, appliedEffects);
|
||||
}
|
||||
throw new UnsupportedOperationException("Unsupported operation");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue