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 repeatable = false;
|
||||||
|
|
||||||
private boolean useBazaar = true;
|
private boolean useBazaar = true;
|
||||||
|
private boolean forceAnte = false;
|
||||||
private Boolean forceAnte = null;
|
|
||||||
|
|
||||||
/** The wins reqd. */
|
/** The wins reqd. */
|
||||||
private int winsReqd = 20;
|
private int winsReqd = 20;
|
||||||
@@ -290,14 +289,14 @@ public class QuestEventChallenge extends QuestEvent {
|
|||||||
/**
|
/**
|
||||||
* @return the forceAnte
|
* @return the forceAnte
|
||||||
*/
|
*/
|
||||||
public Boolean isForceAnte() {
|
public boolean isForceAnte() {
|
||||||
return forceAnte;
|
return forceAnte;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param forceAnte the forceAnte to set
|
* @param forceAnte the forceAnte to set
|
||||||
*/
|
*/
|
||||||
public void setForceAnte(Boolean forceAnte) {
|
public void setForceAnte(boolean forceAnte) {
|
||||||
this.forceAnte = forceAnte;
|
this.forceAnte = forceAnte;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -45,11 +45,7 @@ public class QuestChallengeReader extends StorageReaderFolder<QuestEventChalleng
|
|||||||
qc.setHumanLife(humanLife);
|
qc.setHumanLife(humanLife);
|
||||||
}
|
}
|
||||||
qc.setUseBazaar(sectionQuest.getBoolean("UseBazaar", qc.isUseBazaar()));
|
qc.setUseBazaar(sectionQuest.getBoolean("UseBazaar", qc.isUseBazaar()));
|
||||||
|
qc.setForceAnte(sectionQuest.getBoolean("ForceAnte", false));
|
||||||
String force = sectionQuest.get("ForceAnte", null);
|
|
||||||
if (force != null) {
|
|
||||||
qc.setForceAnte(Boolean.valueOf(force));
|
|
||||||
}
|
|
||||||
|
|
||||||
String humanDeck = sectionQuest.get("HumanDeck", null);
|
String humanDeck = sectionQuest.get("HumanDeck", null);
|
||||||
if (humanDeck != null) {
|
if (humanDeck != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user