Some fixes (#6004)

* Fix NPE
This commit is contained in:
tool4ever
2024-08-28 17:54:28 +02:00
committed by GitHub
parent 4b533d22a0
commit 756ba28a14
21 changed files with 51 additions and 94 deletions

View File

@@ -25,7 +25,9 @@ public class DeckSetFilter extends DeckFormatFilter {
public DeckSetFilter(ItemManager<? super DeckProxy> itemManager0, Collection<String> sets0,
Collection<String> limitedSets0, boolean allowReprints0) {
this(itemManager0, sets0, allowReprints0);
this.limitedSets.addAll(limitedSets0);
if (limitedSets0 != null) {
this.limitedSets.addAll(limitedSets0);
}
}
@Override