summaryrefslogtreecommitdiffstats
path: root/src/RankManager.cpp
diff options
context:
space:
mode:
authorstevenzr <nezerphoenix@gmail.com>2023-04-04 22:32:09 +0200
committerGitHub <noreply@github.com>2023-04-04 22:32:09 +0200
commitdcad86e776a37d402aab5a8146829578c358c701 (patch)
treeb148f1cefa76c62a71341ef42d06aceaf25143bf /src/RankManager.cpp
parentSmall Team Creation Fixes (#5479) (diff)
downloadcuberite-dcad86e776a37d402aab5a8146829578c358c701.tar
cuberite-dcad86e776a37d402aab5a8146829578c358c701.tar.gz
cuberite-dcad86e776a37d402aab5a8146829578c358c701.tar.bz2
cuberite-dcad86e776a37d402aab5a8146829578c358c701.tar.lz
cuberite-dcad86e776a37d402aab5a8146829578c358c701.tar.xz
cuberite-dcad86e776a37d402aab5a8146829578c358c701.tar.zst
cuberite-dcad86e776a37d402aab5a8146829578c358c701.zip
Diffstat (limited to 'src/RankManager.cpp')
-rw-r--r--src/RankManager.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/RankManager.cpp b/src/RankManager.cpp
index 1f90f6aae..9e6100ffe 100644
--- a/src/RankManager.cpp
+++ b/src/RankManager.cpp
@@ -17,8 +17,7 @@
cRankManager::cRankManager(void) :
m_DB("Ranks.sqlite", SQLite::OPEN_READWRITE | SQLite::OPEN_CREATE),
- m_IsInitialized(false),
- m_MojangAPI(nullptr)
+ m_IsInitialized(false)
{
}
@@ -28,10 +27,6 @@ cRankManager::cRankManager(void) :
cRankManager::~cRankManager()
{
- if (m_MojangAPI != nullptr)
- {
- m_MojangAPI->SetRankManager(nullptr);
- }
}