From 491a05b2df5e2f4adfa72ca9563ebc5caec3a280 Mon Sep 17 00:00:00 2001 From: Chase Date: Tue, 20 Mar 2018 01:38:21 -0700 Subject: [PATCH] Fix Mana#containsAny to account for Any mana --- Mage/src/main/java/mage/Mana.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mage/src/main/java/mage/Mana.java b/Mage/src/main/java/mage/Mana.java index 32e57e8d45..395f52e284 100644 --- a/Mage/src/main/java/mage/Mana.java +++ b/Mage/src/main/java/mage/Mana.java @@ -934,6 +934,8 @@ public class Mana implements Comparable, Serializable, Copyable { 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;