From 473cdd0c17341fed8bd0d661e5993a266902fe32 Mon Sep 17 00:00:00 2001 From: spjspj Date: Tue, 19 Apr 2016 12:52:20 +1000 Subject: [PATCH] spjspj - containsAny is meant to be for coloured mana --- Mage/src/main/java/mage/Mana.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Mage/src/main/java/mage/Mana.java b/Mage/src/main/java/mage/Mana.java index be05bf6f820..9cb30f96032 100644 --- a/Mage/src/main/java/mage/Mana.java +++ b/Mage/src/main/java/mage/Mana.java @@ -816,11 +816,11 @@ public class Mana implements Comparable, Serializable, Copyable { } /** - * Returns if this objects mana contains any mana the same as the passed in + * Returns if this objects mana contains any coloured mana the same as the passed in * {@link Mana}'s mana. * * @param mana the mana to check for - * @return true if this contains any of the same type of mana that this has + * @return true if this contains any of the same type of coloured mana that this has */ public boolean containsAny(final Mana mana) { if (mana.black > 0 && this.black > 0) { @@ -833,9 +833,7 @@ public class Mana implements Comparable, Serializable, Copyable { return true; } else if (mana.green > 0 && this.green > 0) { return true; - } else if (mana.colorless > 0 && this.colorless > 0) { - return true; - } + } return false; }