mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +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);
|
||||
break;
|
||||
case STACK:
|
||||
StackObject stackObject = game.getStack().getSpell(getId());
|
||||
if (stackObject != null) {
|
||||
game.getStack().remove(stackObject);
|
||||
}
|
||||
break;
|
||||
case PICK:
|
||||
// nothing to do
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue