mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
buildPredicate not final anymore to allow for override in subclasses
This is the first step to finally make the DeckSetFilter working properly! So far, the filter applies if **all** the cards in a deck matches selected specific set(s). We will allow for customisation to simplify and correct this filter - more in the next commit.
This commit is contained in:
@@ -25,7 +25,7 @@ public class DeckFormatFilter extends FormatFilter<DeckProxy> {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected final Predicate<DeckProxy> buildPredicate() {
|
||||
protected Predicate<DeckProxy> buildPredicate() {
|
||||
return DeckProxy.createPredicate(SFilterUtil.buildFormatFilter(this.formats, this.allowReprints));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user