Fixed a bug that fizzling spell copies let also wrongly fizzle the original spell on the stack the copy was made from.

This commit is contained in:
LevelX2 2017-03-11 12:00:05 +01:00
parent 2d20045b61
commit c042d50ec7
5 changed files with 106 additions and 28 deletions

View file

@ -27,6 +27,10 @@
*/
package mage.game.stack;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.List;
import java.util.UUID;
import mage.MageInt;
import mage.MageObject;
import mage.Mana;
@ -63,11 +67,6 @@ import mage.game.permanent.PermanentCard;
import mage.players.Player;
import mage.util.GameLog;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.List;
import java.util.UUID;
/**
*
* @author BetaSteward_at_googlemail.com
@ -394,7 +393,8 @@ public class Spell extends StackObjImpl implements Card {
}
}
} else {
card.removeFromZone(game, Zone.STACK, sourceId);
// Copied spell, only remove from stack
game.getStack().remove(this);
}
}