mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Merge pull request #928 from ImperatorPrime/master
Fix counterspells not working when Rest in Peace is in play.
This commit is contained in:
commit
caaf58c38d
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue