mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fix counterspells not working when Rest in Peace is in play.
This commit is contained in:
parent
a845340e0d
commit
27005fcba4
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