Disable auto-payment of mana for spells which care about mana color (#9173)

This commit is contained in:
Alex Vasile 2022-10-03 19:16:45 -04:00 committed by GitHub
parent 045b07c7cf
commit 6035f04140
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 174 additions and 20 deletions

View file

@ -38,4 +38,9 @@ public class CompoundCondition implements Condition {
return text;
}
@Override
public boolean caresAboutManaColor() {
return conditions.stream().anyMatch(Condition::caresAboutManaColor);
}
}