mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Improved getCount summing up the number of allowed sets in all selected blocks.
This commit is contained in:
@@ -66,7 +66,10 @@ public class CardBlockFilter extends CardSetFilter {
|
||||
|
||||
@Override
|
||||
protected int getCount() {
|
||||
return this.selectedBlocks.size();
|
||||
int setCount = 0;
|
||||
for (GameFormat block : this.selectedBlocks)
|
||||
setCount += block.getAllowedSetCodes().size();
|
||||
return setCount;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user