From ab632ef1d06e5f5065cc5edcbca89cba1e1529d4 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 11 Oct 2017 08:35:33 -0400 Subject: [PATCH] small fix --- .../abilities/effects/common/ReturnToHandTargetEffect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/src/main/java/mage/abilities/effects/common/ReturnToHandTargetEffect.java b/Mage/src/main/java/mage/abilities/effects/common/ReturnToHandTargetEffect.java index 2387fbe0241..ad80dffa498 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/ReturnToHandTargetEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/ReturnToHandTargetEffect.java @@ -83,7 +83,7 @@ public class ReturnToHandTargetEffect extends OneShotEffect { for (Target target : source.getTargets()) { for (UUID targetId : target.getTargets()) { MageObject mageObject = game.getObject(targetId); - if (mageObject instanceof Spell && !((Spell) mageObject).isCopy()) { + if (mageObject instanceof Spell && ((Spell) mageObject).isCopy()) { copyIds.add(targetId); } else if (mageObject instanceof Card) { cards.add((Card) mageObject); @@ -94,7 +94,7 @@ public class ReturnToHandTargetEffect extends OneShotEffect { for (UUID targetId : targetPointer.getTargets(game, source)) { MageObject mageObject = game.getObject(targetId); if (mageObject != null) { - if (mageObject instanceof Spell && !((Spell) mageObject).isCopy()) { + if (mageObject instanceof Spell && ((Spell) mageObject).isCopy()) { copyIds.add(targetId); } else { cards.add((Card) mageObject);