- Fixed matchesValidSA.

This commit is contained in:
Sloth
2012-10-10 11:30:46 +00:00
parent da9e9b30ff
commit 30fae4791c
2 changed files with 1 additions and 2 deletions

View File

@@ -717,7 +717,7 @@ public class TargetSelection {
*/
private static boolean matchesValidSA(final SpellAbility sa, final String[] valids, final SpellAbility source) {
final Card srcCard = source.getSourceCard();
final Player activatingPlayer = sa.getActivatingPlayer();
final Player activatingPlayer = source.getActivatingPlayer();
final Card c = sa.getSourceCard();
return c.isValid(valids, activatingPlayer, srcCard);
}

View File

@@ -1351,7 +1351,6 @@ public class ComputerUtil {
minSize = num;
}
}
System.out.println("AI lands: " + landList + combined + basics + minType);
if (minType != null) {
landList = CardLists.getType(landList, minType);