mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Adventure - Updated draft set filtering
This commit is contained in:
@@ -187,7 +187,9 @@ public class AdventureEventData implements Serializable {
|
|||||||
|
|
||||||
List<CardBlock> legalBlocks = new ArrayList<>();
|
List<CardBlock> legalBlocks = new ArrayList<>();
|
||||||
for (CardBlock b : src) { // for each block
|
for (CardBlock b : src) { // for each block
|
||||||
boolean isOkay = !(b.getSets().isEmpty() && b.getCntBoostersDraft() > 0);
|
if (b.getSets().isEmpty() || (b.getCntBoostersDraft() < 1))
|
||||||
|
continue;
|
||||||
|
boolean isOkay = true;
|
||||||
for (CardEdition c : b.getSets()) {
|
for (CardEdition c : b.getSets()) {
|
||||||
if (!allEditions.contains(c)) {
|
if (!allEditions.contains(c)) {
|
||||||
isOkay = false;
|
isOkay = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user