From c648ddd6e5b3e80d4036972c9b8aad12794e053b Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 20 Apr 2018 15:40:02 +0200 Subject: [PATCH] Fixed a problem with exiling copied spells from the stack (Time Stop and Hive Mind problem). --- Mage/src/main/java/mage/game/stack/Spell.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mage/src/main/java/mage/game/stack/Spell.java b/Mage/src/main/java/mage/game/stack/Spell.java index c342549d36..8ff863febe 100644 --- a/Mage/src/main/java/mage/game/stack/Spell.java +++ b/Mage/src/main/java/mage/game/stack/Spell.java @@ -763,6 +763,10 @@ public class Spell extends StackObjImpl implements Card { @Override public boolean moveToExile(UUID exileId, String name, UUID sourceId, Game game, List appliedEffects) { + if (this.isCopiedSpell()) { + game.getStack().remove(this); + return true; + } return this.card.moveToExile(exileId, name, sourceId, game, appliedEffects); }