mirror of
https://github.com/correl/mage.git
synced 2025-04-09 09:11:05 -09:00
Added search by sub type in deck editor.
This commit is contained in:
parent
b031eb5ebf
commit
614a3b0d13
1 changed files with 10 additions and 0 deletions
|
@ -97,6 +97,16 @@ public class FilterCard<T extends FilterCard<T>> extends FilterObject<Card, Filt
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (filterOut) {
|
||||||
|
for (String subType : card.getSubtype()) {
|
||||||
|
if (subType.equalsIgnoreCase(text)) {
|
||||||
|
filterOut = false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (filterOut)
|
if (filterOut)
|
||||||
return notFilter;
|
return notFilter;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue