Fix counterspells not working when Rest in Peace is in play.

This commit is contained in:
Nathaniel Brandes 2015-04-22 23:01:33 -07:00
parent a845340e0d
commit 27005fcba4

View file

@ -492,6 +492,11 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
game.getExile().removeCard(this, game); game.getExile().removeCard(this, game);
break; break;
case STACK: case STACK:
StackObject stackObject = game.getStack().getSpell(getId());
if (stackObject != null) {
game.getStack().remove(stackObject);
}
break;
case PICK: case PICK:
// nothing to do // nothing to do
break; break;