mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Save set unlocking information + won cards.
This commit is contained in:
@@ -36,7 +36,6 @@ public class QuestUtilUnlockSets {
|
||||
if (qData.getFormat() == null || qData.getFormat().getExcludedSetCodes().isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
List<CardEdition> choices = unlockableSets(qData);
|
||||
|
||||
if (choices == null || choices.size() < 1) {
|
||||
@@ -102,7 +101,6 @@ public class QuestUtilUnlockSets {
|
||||
JOptionPane.showMessageDialog(null, "You have successfully unlocked " + chooseEd.getName() + "!",
|
||||
chooseEd.getName() + " unlocked!",
|
||||
JOptionPane.PLAIN_MESSAGE);
|
||||
|
||||
return chooseEd;
|
||||
}
|
||||
|
||||
@@ -250,5 +248,7 @@ public class QuestUtilUnlockSets {
|
||||
"You get the following bonus cards:", displayCards);
|
||||
cardView.show();
|
||||
|
||||
qData.save();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user