diff --git a/src/main/java/cactusServer/entities/Account.java b/src/main/java/cactusServer/entities/Account.java index 431ced0..c006fa3 100644 --- a/src/main/java/cactusServer/entities/Account.java +++ b/src/main/java/cactusServer/entities/Account.java @@ -3,13 +3,10 @@ public class Account { private String id,name,pass; - public Account(String userId, String userName) { + public Account(String userId, String userName,String userPass) { setId(userId); setName(userName); - } - - public Account() { - + setPass(userPass); } public String getId() {