forked from External/mage
Some changes related to #4893.
This commit is contained in:
parent
9919a3403d
commit
cddd81123b
37 changed files with 245 additions and 137 deletions
|
|
@ -410,7 +410,7 @@ public class Spell extends StackObjImpl implements Card {
|
|||
}
|
||||
} else {
|
||||
// Copied spell, only remove from stack
|
||||
game.getStack().remove(this);
|
||||
game.getStack().remove(this, game);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -772,7 +772,7 @@ public class Spell extends StackObjImpl implements Card {
|
|||
@Override
|
||||
public boolean moveToExile(UUID exileId, String name, UUID sourceId, Game game, List<UUID> appliedEffects) {
|
||||
if (this.isCopiedSpell()) {
|
||||
game.getStack().remove(this);
|
||||
game.getStack().remove(this, game);
|
||||
return true;
|
||||
}
|
||||
return this.card.moveToExile(exileId, name, sourceId, game, appliedEffects);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue