fixed various problems with Call to Arms

This commit is contained in:
Evan Kranzler 2018-09-05 10:57:55 -04:00
parent 6ff0d319bd
commit 9c19f07494
2 changed files with 26 additions and 19 deletions

View file

@ -19,9 +19,9 @@ import mage.game.Game;
*/
public class MostCommonColorCondition implements Condition {
protected ObjectColor compareColor;
protected boolean isMono;
protected Predicate predicate;
protected final ObjectColor compareColor;
protected final boolean isMono;
protected final Predicate predicate;
public MostCommonColorCondition(ObjectColor color) {
this(color, false, null);
@ -31,6 +31,7 @@ public class MostCommonColorCondition implements Condition {
public MostCommonColorCondition(ObjectColor color, boolean isMono, Predicate predicate) {
this.compareColor = color;
this.isMono = isMono;
this.predicate = predicate;
}
@Override