fixed Memory Theft error

This commit is contained in:
Evan Kranzler 2019-09-25 10:18:14 -04:00
parent 56ede98b03
commit 720180ed93

View file

@ -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());