mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Fixed a problem with exiling copied spells from the stack (Time Stop and Hive Mind problem).
This commit is contained in:
parent
43b7222ab6
commit
c648ddd6e5
1 changed files with 4 additions and 0 deletions
|
@ -763,6 +763,10 @@ 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);
|
||||
return true;
|
||||
}
|
||||
return this.card.moveToExile(exileId, name, sourceId, game, appliedEffects);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue