mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08: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…
Add table
Add a link
Reference in a new issue