From 14838e670a6719fa531b2ae7fe15ed442b97c194 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Sat, 21 Aug 2021 17:55:44 +0400 Subject: [PATCH] Merge fix --- .../src/main/java/mage/player/ai/ComputerPlayer.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java b/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java index a292a99e72..4c462dbbeb 100644 --- a/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java +++ b/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java @@ -613,8 +613,6 @@ public class ComputerPlayer extends PlayerImpl implements Player { FilterPermanent filter = null; if (target.getOriginalTarget().getFilter() instanceof FilterPermanent) { filter = (FilterPermanent) target.getOriginalTarget().getFilter(); - } else if (target.getOriginalTarget().getFilter() instanceof FilterPermanentOrSuspendedCard) { - filter = ((FilterPermanentOrSuspendedCard) target.getOriginalTarget().getFilter()).getPermanentFilter(); } if (filter == null) { throw new IllegalStateException("Unsupported permanent filter in computer's chooseTarget method: "