fixed Memory Theft error
@@ -77,7 +77,8 @@ class MemoryTheftEffect extends OneShotEffect {
filter.add(AdventurePredicate.instance);
filter.add(new OwnerIdPredicate(player.getId()));
TargetCard target = new TargetCardInExile(0, 1, filter, null, true);
- if (!controller.choose(outcome, target, source.getSourceId(), game)) {
+ if (!target.canChoose(source.getSourceId(), source.getControllerId(), game)
+ || !controller.choose(outcome, target, source.getSourceId(), game)) {
return false;
}
Card card = game.getCard(target.getFirstTarget());
