Merge pull request #4641 from chasevedder/master

Fix Mana#containsAny to account for Any mana
This commit is contained in:
LevelX2 2018-03-20 11:13:34 +01:00 committed by GitHub
commit 46ad2cb081
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;