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

@ -22,6 +22,8 @@ import us.tastybento.bskyblock.database.objects.DataObject;
*
*/
public class Challenges implements DataObject {
public Challenges() {}
public enum ChallengeType {
/**

View File

@ -21,7 +21,7 @@ import us.tastybento.bskyblock.util.Util;
*
*/
public class PlayerData implements DataObject {
@Expose
private String uniqueId = "";
/**