mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Merge pull request #4641 from chasevedder/master
Fix Mana#containsAny to account for Any mana
This commit is contained in:
commit
46ad2cb081
1 changed files with 2 additions and 0 deletions
|
@ -934,6 +934,8 @@ public class Mana implements Comparable<Mana>, Serializable, Copyable<Mana> {
|
|||
return true;
|
||||
} else if (mana.colorless > 0 && this.colorless > 0 && includeColorless) {
|
||||
return true;
|
||||
} else if (mana.any > 0 && this.count() > 0){
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue