mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +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
|
@Override
|
||||||
protected int getCount() {
|
protected int getCount() {
|
||||||
return this.selectedBlocks.size();
|
int setCount = 0;
|
||||||
|
for (GameFormat block : this.selectedBlocks)
|
||||||
|
setCount += block.getAllowedSetCodes().size();
|
||||||
|
return setCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user