mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
bugfix
This commit is contained in:
@@ -58,8 +58,7 @@ public class QuestEventChallenge extends QuestEvent {
|
||||
private boolean repeatable = false;
|
||||
|
||||
private boolean useBazaar = true;
|
||||
|
||||
private Boolean forceAnte = null;
|
||||
private boolean forceAnte = false;
|
||||
|
||||
/** The wins reqd. */
|
||||
private int winsReqd = 20;
|
||||
@@ -290,14 +289,14 @@ public class QuestEventChallenge extends QuestEvent {
|
||||
/**
|
||||
* @return the forceAnte
|
||||
*/
|
||||
public Boolean isForceAnte() {
|
||||
public boolean isForceAnte() {
|
||||
return forceAnte;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param forceAnte the forceAnte to set
|
||||
*/
|
||||
public void setForceAnte(Boolean forceAnte) {
|
||||
public void setForceAnte(boolean forceAnte) {
|
||||
this.forceAnte = forceAnte;
|
||||
}
|
||||
|
||||
|
||||
@@ -45,11 +45,7 @@ public class QuestChallengeReader extends StorageReaderFolder<QuestEventChalleng
|
||||
qc.setHumanLife(humanLife);
|
||||
}
|
||||
qc.setUseBazaar(sectionQuest.getBoolean("UseBazaar", qc.isUseBazaar()));
|
||||
|
||||
String force = sectionQuest.get("ForceAnte", null);
|
||||
if (force != null) {
|
||||
qc.setForceAnte(Boolean.valueOf(force));
|
||||
}
|
||||
qc.setForceAnte(sectionQuest.getBoolean("ForceAnte", false));
|
||||
|
||||
String humanDeck = sectionQuest.get("HumanDeck", null);
|
||||
if (humanDeck != null) {
|
||||
|
||||
Reference in New Issue
Block a user