Fix filtering when only multicolor selected

This commit is contained in:
drdev
2015-04-12 19:30:11 +00:00
parent 3c80291124
commit 7af4cf87ea

View File

@@ -175,12 +175,7 @@ public class SFilterUtil {
boolean result = true;
if (wantMulticolor) {
if (colors == 0) { //handle showing all multi-color cards if all 5 colors are filtered
if (color.isMulticolor()) {
result = true;
}
else if (wantColorless && color.isColorless()) {
result = true;
}
result = color.isMulticolor() || (wantColorless && color.isColorless());
}
else if (colors != MagicColor.ALL_COLORS) {
if (useColorIdentity) {