diff --git a/src/main/java/cactusServer/entities/Account.java b/src/main/java/cactusServer/entities/Account.java index eb2d7ae..4d24b8a 100644 --- a/src/main/java/cactusServer/entities/Account.java +++ b/src/main/java/cactusServer/entities/Account.java @@ -3,7 +3,7 @@ import org.apache.commons.lang3.RandomStringUtils; public class Account { - private String name, pass, token; + private String id,name, pass, token; private boolean login = false; public Account(String userName, String userPass) { @@ -11,6 +11,14 @@ setPass(userPass); } + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + public String getName() { return name; }