mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Fix filtering when only multicolor selected
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user