mirror of
https://github.com/correl/mage.git
synced 2024-11-16 11:09:29 +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;
|
return true;
|
||||||
} else if (mana.colorless > 0 && this.colorless > 0 && includeColorless) {
|
} else if (mana.colorless > 0 && this.colorless > 0 && includeColorless) {
|
||||||
return true;
|
return true;
|
||||||
|
} else if (mana.any > 0 && this.count() > 0){
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue