mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +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<>();
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user