Merge pull request #7101 from magefree/fix/EyeOfDoom

Fixed that Eye of Doom uses target instead a choose (fixes #7099)
This commit is contained in:
Oleg Agafonov 2020-10-02 01:28:35 +02:00 committed by GitHub
commit 8412b19d0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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