mirror of
https://github.com/correl/mage.git
synced 2025-04-02 03:18:09 -09: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…
Add table
Reference in a new issue