Allow lands with AnyColorManaAbility to be have automatic payments done
@@ -17,6 +17,7 @@ import mage.abilities.mana.BlackManaAbility;
import mage.abilities.mana.BlueManaAbility;
import mage.abilities.mana.GreenManaAbility;
import mage.abilities.mana.ActivatedManaAbilityImpl;
+import mage.abilities.mana.AnyColorManaAbility;
import mage.abilities.mana.RedManaAbility;
import mage.abilities.mana.WhiteManaAbility;
import mage.cards.Card;
@@ -62,9 +63,11 @@ public class ManaUtil {
for (ActivatedManaAbilityImpl ability : useableAbilities.values()) {
if (!(ability instanceof BasicManaAbility)) {
// return map as-is without any modification
+ if (!(ability instanceof AnyColorManaAbility)) {
return useableAbilities;
}
}
+ }
if (unpaid != null) {
ManaSymbols symbols = ManaSymbols.buildFromManaCost(unpaid);
