Minor - adjust PlayerAuth builder methods

- Rename hash() to password()
- Add location(Location) builder method
- Replace usages of password(new EncryptedPassword(hash, salt)) to the more terse password(String, String) builder method
This commit is contained in:
ljacqu
2015-12-30 18:28:06 +01:00
parent a3402d573f
commit 8b60c66cc8
10 changed files with 30 additions and 257 deletions
@@ -78,7 +78,7 @@ public class RakamakConverter implements Converter {
.name(playerName)
.realName(playerName)
.ip(ip)
.hash(psw)
.password(psw)
.lastLogin(System.currentTimeMillis())
.build();
database.saveAuth(auth);