From 10f8022043fe2c7ff7da49b67627645d41503f6d Mon Sep 17 00:00:00 2001 From: Daniel Bomar Date: Mon, 1 Mar 2021 16:40:40 -0600 Subject: [PATCH] ReturnToLibrarySpellEffect - Do not apply to spell copies (fixes #7634) --- .../abilities/effects/common/ReturnToLibrarySpellEffect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/src/main/java/mage/abilities/effects/common/ReturnToLibrarySpellEffect.java b/Mage/src/main/java/mage/abilities/effects/common/ReturnToLibrarySpellEffect.java index ee660ee855..8ad7213840 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/ReturnToLibrarySpellEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/ReturnToLibrarySpellEffect.java @@ -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); }