Adventure - Updated draft set filtering

This commit is contained in:
jjayers99
2023-07-09 22:50:31 -04:00
parent 0fa5a6cfa6
commit 75ef4be4be

View File

@@ -187,7 +187,9 @@ public class AdventureEventData implements Serializable {
List<CardBlock> legalBlocks = new ArrayList<>();
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()) {
if (!allEditions.contains(c)) {
isOkay = false;