mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Renamed a GameFormatQuest method to something more descriptive (to avoid confusion with a more general method).
This commit is contained in:
@@ -496,7 +496,7 @@ public class QuestWinLose extends ControlWinLose {
|
||||
|
||||
if (unlockedSet != null) {
|
||||
|
||||
qData.getFormat().addSet(unlockedSet.getCode());
|
||||
qData.getFormat().unlockSet(unlockedSet.getCode());
|
||||
|
||||
if (Singletons.getModel().getTournamentPacks().contains(unlockedSet.getCode())) {
|
||||
final List<CardPrinted> cardsWon = (new UnOpenedProduct(Singletons.getModel().getTournamentPacks().get(unlockedSet.getCode()))).open();
|
||||
|
||||
@@ -210,7 +210,7 @@ public final class GameFormatQuest {
|
||||
*
|
||||
* @param setCode String, set code.
|
||||
*/
|
||||
public void addSet(final String setCode) {
|
||||
public void unlockSet(final String setCode) {
|
||||
if (this.allowedSetCodes == null) {
|
||||
this.allowedSetCodes = new ArrayList<String>(); // this should never happen.
|
||||
} else if (this.allowedSetCodes.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user