This commit is contained in:
Jeff Wadsworth 2022-04-20 15:01:42 -05:00
parent 1ceac773b7
commit 3650b19936

View file

@ -33,6 +33,9 @@ public class ExileCardYouChooseTargetOpponentEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) {
Player controller = game.getPlayer(source.getControllerId());
Player opponent = game.getPlayer(source.getFirstTarget());
if (opponent == null) {
opponent = game.getPlayer(targetPointer.getFirst(game, source));
}
if (controller == null || opponent == null) {
return false;
}