mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fix quest draft tournaments not available in Vintage and Legacy sanctioned format quests.
This commit is contained in:
@@ -721,9 +721,10 @@ public class QuestEventDraft {
|
|||||||
for (CardBlock block : blocks) {
|
for (CardBlock block : blocks) {
|
||||||
|
|
||||||
boolean blockAllowed = true;
|
boolean blockAllowed = true;
|
||||||
|
boolean allBlocksSanctioned = quest.getFormat().getAllowedSetCodes().isEmpty();
|
||||||
|
|
||||||
for (CardEdition set : block.getSets()) {
|
for (CardEdition set : block.getSets()) {
|
||||||
if (!allowedQuestSets.contains(set)) {
|
if (!allowedQuestSets.contains(set) && !allBlocksSanctioned) {
|
||||||
blockAllowed = false;
|
blockAllowed = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user