Fixes #7099 Eye of Doom should not target

This commit is contained in:
Gösta 2020-10-02 00:51:38 +02:00
parent 436908fc75
commit 707b35df07

View file

@ -80,7 +80,7 @@ class EyeOfDoomEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) { public boolean apply(Game game, Ability source) {
List<Permanent> permanents = new ArrayList<>(); List<Permanent> permanents = new ArrayList<>();
Target target = new TargetNonlandPermanent(); Target target = new TargetNonlandPermanent();
target.setNotTarget(false); target.setNotTarget(true);
PlayerList playerList = game.getPlayerList().copy(); PlayerList playerList = game.getPlayerList().copy();
playerList.setCurrent(game.getActivePlayerId()); playerList.setCurrent(game.getActivePlayerId());
Player player = game.getPlayer(game.getActivePlayerId()); Player player = game.getPlayer(game.getActivePlayerId());