- Fix AI activating ChangeZoneAi when the list for ChangeType is empty.

This commit is contained in:
Michael Kamensky
2021-11-30 09:37:12 +03:00
parent 325aaa40c2
commit d251100f63

View File

@@ -379,7 +379,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
list = CardLists.getValidCards(list, type, source.getController(), source, sa); list = CardLists.getValidCards(list, type, source.getController(), source, sa);
} }
if (!activateForCost && list.isEmpty()) { if (!activateForCost || list.isEmpty()) {
return false; return false;
} }
if ("Atarka's Command".equals(sourceName) if ("Atarka's Command".equals(sourceName)