From 4446adfadf8cba48ab507137f1bb94516424377d Mon Sep 17 00:00:00 2001 From: L_J Date: Sat, 28 Apr 2018 13:17:25 +0000 Subject: [PATCH] Made Mana#includesMana capable of comparing colorless to generic --- Mage/src/main/java/mage/Mana.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/main/java/mage/Mana.java b/Mage/src/main/java/mage/Mana.java index 395f52e284..d173437878 100644 --- a/Mage/src/main/java/mage/Mana.java +++ b/Mage/src/main/java/mage/Mana.java @@ -1083,7 +1083,7 @@ public class Mana implements Comparable, Serializable, Copyable { && this.red >= mana.red && this.colorless >= mana.colorless && (this.generic >= mana.generic - || this.countColored() >= mana.countColored() + mana.generic); + || this.countColored() + this.colorless >= mana.count()); }