Fixed bug with saving to flat file.

Must remember to include blank constructor so Beans can create the
object!
This commit is contained in:
tastybento 2018-05-29 14:57:38 -07:00
parent a2d21f0242
commit 43121bb739
3 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,7 @@ import us.tastybento.bskyblock.database.objects.DataObject;
*/
public class ChallengeLevels implements DataObject, Comparable<ChallengeLevels> {
public ChallengeLevels() {}
@ConfigComment("A friendly name for the level. If blank, level name is used.")
private String friendlyName = "";

View File

@ -23,6 +23,8 @@ import us.tastybento.bskyblock.database.objects.DataObject;
*/
public class Challenges implements DataObject {
public Challenges() {}
public enum ChallengeType {
/**
* This challenge only shows and icon in the GUI and doesn't do anything.