From 5764e95529e90fbfdad88c664c6ac85cab05d980 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Sun, 22 Aug 2021 22:42:47 +0000 Subject: [PATCH] Update CopyPermanentEffect.java --- .../java/forge/game/ability/effects/CopyPermanentEffect.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forge-game/src/main/java/forge/game/ability/effects/CopyPermanentEffect.java b/forge-game/src/main/java/forge/game/ability/effects/CopyPermanentEffect.java index f70bd56a975..7c6e9f3e7c1 100644 --- a/forge-game/src/main/java/forge/game/ability/effects/CopyPermanentEffect.java +++ b/forge-game/src/main/java/forge/game/ability/effects/CopyPermanentEffect.java @@ -107,6 +107,8 @@ public class CopyPermanentEffect extends TokenEffectBase { Card possibleCard = Card.fromPaperCard(cp, activator); // Need to temporarily set the Owner so the Game is set if (possibleCard.isValid(valid, host.getController(), host, sa)) { + if (host.getController().isAI() && possibleCard.getRules() != null && possibleCard.getRules().getAiHints().getRemAIDecks()) + continue; choice.add(possibleCard); ncopied -= 1; }