diff options
author | Mat <mail@mathias.is> | 2020-05-05 20:20:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 20:20:07 +0200 |
commit | f4b5c4c34120e1707f71788aed06ea1ca5c17fba (patch) | |
tree | 97437ca1c9bdaeffc0c20b84e70531e421d415d5 /src/RankManager.h | |
parent | Refactor minecart collision detection code. (#4712) (diff) | |
download | cuberite-f4b5c4c34120e1707f71788aed06ea1ca5c17fba.tar cuberite-f4b5c4c34120e1707f71788aed06ea1ca5c17fba.tar.gz cuberite-f4b5c4c34120e1707f71788aed06ea1ca5c17fba.tar.bz2 cuberite-f4b5c4c34120e1707f71788aed06ea1ca5c17fba.tar.lz cuberite-f4b5c4c34120e1707f71788aed06ea1ca5c17fba.tar.xz cuberite-f4b5c4c34120e1707f71788aed06ea1ca5c17fba.tar.zst cuberite-f4b5c4c34120e1707f71788aed06ea1ca5c17fba.zip |
Diffstat (limited to 'src/RankManager.h')
-rw-r--r-- | src/RankManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RankManager.h b/src/RankManager.h index abe860b1c..e2600dde0 100644 --- a/src/RankManager.h +++ b/src/RankManager.h @@ -53,7 +53,7 @@ public: ~cRankManager(); /** Initializes the rank manager. Performs migration and default-setting if no data is found in the DB. - The a_MojangAPI param is used when migrating from old ini files, to look up player UUIDs. */ + The a_MojangAPI param is used to keep player names in sync with UUIDs, since Mojang allows username changes. */ void Initialize(cMojangAPI & a_MojangAPI); /** Returns the name of the rank that the specified player has assigned to them. @@ -273,7 +273,7 @@ protected: /** Set to true once the manager is initialized. */ bool m_IsInitialized; - /** The MojangAPI instance that is used for translating playernames to UUIDs. + /** The MojangAPI instance that is used for keeping player names and UUIDs in sync. Set in Initialize(), may be nullptr. */ cMojangAPI * m_MojangAPI; |