mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
ReturnToLibrarySpellEffect - Do not apply to spell copies (fixes #7634)
This commit is contained in:
parent
f52753ad61
commit
10f8022043
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ public class ReturnToLibrarySpellEffect extends OneShotEffect {
|
|||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null) {
|
||||
Spell spell = game.getStack().getSpell(source.getSourceId());
|
||||
if (spell != null) {
|
||||
Card spellCard = game.getStack().getSpell(source.getSourceId()).getCard();
|
||||
if (spell != null && !spell.isCopy()) {
|
||||
Card spellCard = spell.getCard();
|
||||
if (spellCard != null) {
|
||||
controller.moveCardToLibraryWithInfo(spellCard, source, game, Zone.STACK, toTop, true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue