- Fix the display of color identity of colorless cards.

This commit is contained in:
Agetian
2015-06-02 14:33:34 +00:00
parent 6961ef9a3a
commit 41821d14c7

View File

@@ -168,6 +168,10 @@ public class CardDetailUtil {
if (identity.hasRed()) { strIdentity += "{R}"; }
if (identity.hasGreen()) { strIdentity += "{G}"; }
if (strIdentity.isEmpty()) {
strIdentity = "colorless";
}
return strIdentity;
}
@@ -564,7 +568,7 @@ public class CardDetailUtil {
area.append("\n\n");
}
area.append("Color identity: ");
area.append(colorIdent.isEmpty() ? "colorless" : colorIdent);
area.append(colorIdent);
}
//show current storm count for storm cards