diff --git a/src/main/java/cactusServer/entities/Account.java b/src/main/java/cactusServer/entities/Account.java index 86f9c7d..cb11ffe 100644 --- a/src/main/java/cactusServer/entities/Account.java +++ b/src/main/java/cactusServer/entities/Account.java @@ -10,6 +10,10 @@ private String id, name, token, pass, uniqueID; private boolean login = false; + private Account() { + + } + public Account(String userID, String userName, String userPass, String uniqueID) { setId(userID); setName(userName); @@ -35,7 +39,7 @@ this.name = name; } - @JSONHint(ignore=true) + @JSONHint(ignore = true) public String getPass() { return pass; } @@ -61,7 +65,11 @@ return token; } - @JSONHint(ignore=true) + public void setToken(String token) { + this.token = token; + } + + @JSONHint(ignore = true) public String getUniqueID() { return uniqueID; }