diff options
author | madmaxoft <github@xoft.cz> | 2014-08-03 21:32:20 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-08-03 22:04:51 +0200 |
commit | 21f52676f3848d58ff1e4eb511c691d4a4ed824b (patch) | |
tree | e0d2c30fff958dbf73ada22f2c64936597441f14 /src/Protocol/Authenticator.cpp | |
parent | Trailing whitespace fix. (diff) | |
download | cuberite-21f52676f3848d58ff1e4eb511c691d4a4ed824b.tar cuberite-21f52676f3848d58ff1e4eb511c691d4a4ed824b.tar.gz cuberite-21f52676f3848d58ff1e4eb511c691d4a4ed824b.tar.bz2 cuberite-21f52676f3848d58ff1e4eb511c691d4a4ed824b.tar.lz cuberite-21f52676f3848d58ff1e4eb511c691d4a4ed824b.tar.xz cuberite-21f52676f3848d58ff1e4eb511c691d4a4ed824b.tar.zst cuberite-21f52676f3848d58ff1e4eb511c691d4a4ed824b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Authenticator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Authenticator.cpp b/src/Protocol/Authenticator.cpp index 160564d51..984000795 100644 --- a/src/Protocol/Authenticator.cpp +++ b/src/Protocol/Authenticator.cpp @@ -191,8 +191,8 @@ bool cAuthenticator::AuthWithYggdrasil(AString & a_UserName, const AString & a_S a_UUID = cMojangAPI::MakeUUIDShort(root.get("id", "").asString()); a_Properties = root["properties"]; - // Store the player's UUID in the NameToUUID map in MojangAPI: - cRoot::Get()->GetMojangAPI().AddPlayerNameToUUIDMapping(a_UserName, a_UUID); + // Store the player's profile in the MojangAPI caches: + cRoot::Get()->GetMojangAPI().AddPlayerProfile(a_UserName, a_UUID, a_Properties); return true; } |