This commit is contained in:
Maxmtg
2013-05-22 04:04:02 +00:00
parent 3a2b9d17d9
commit 79b92d40dc
2 changed files with 4 additions and 9 deletions

View File

@@ -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;
}

View File

@@ -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) {