forked from External/mage
* Fixed a bug with removing spells from stack (e.g. Split Second had some problems) fixes #1333.
This commit is contained in:
parent
3d4ebddbc8
commit
f14cbb7f36
2 changed files with 48 additions and 32 deletions
|
|
@ -207,11 +207,8 @@ public class Spell extends StackObjImpl implements Card {
|
|||
}
|
||||
}
|
||||
if (game.getState().getZone(card.getMainCard().getId()) == Zone.STACK) {
|
||||
if (isCopy() == card.isCopy()) {
|
||||
Player player = game.getPlayer(getControllerId());
|
||||
if (player != null) {
|
||||
player.moveCards(card, Zone.STACK, Zone.GRAVEYARD, ability, game);
|
||||
}
|
||||
if (!isCopy()) {
|
||||
controller.moveCards(card, Zone.GRAVEYARD, ability, game);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue