mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
FIX typo cardBlock attribute was never set in constructor.
This commit is contained in:
@@ -11,11 +11,12 @@ import java.util.*;
|
||||
public class CardBlockFilter extends CardSetFilter {
|
||||
|
||||
private final Set<GameFormat> selectedBlocks = new HashSet<>();
|
||||
private GameFormat cardBlock = null;
|
||||
private GameFormat cardBlock;
|
||||
|
||||
public CardBlockFilter(final ItemManager<? super PaperCard> itemManager0, final GameFormat cardBlock) {
|
||||
super(itemManager0, cardBlock.getAllowedSetCodes(), false);
|
||||
this.formats.add(cardBlock);
|
||||
this.cardBlock = cardBlock;
|
||||
this.selectedBlocks.add(cardBlock);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user