mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
- Fixed matchesValidSA.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user