summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-10-18 20:55:01 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-10-18 20:55:01 +0200
commiteb821ff240fabab6666705bd767e334c5220027a (patch)
tree12b5505d3537be9fe59c9b45a966611f98af0d4e /src/Root.cpp
parentFurnaces now update their block entity type (diff)
downloadcuberite-eb821ff240fabab6666705bd767e334c5220027a.tar
cuberite-eb821ff240fabab6666705bd767e334c5220027a.tar.gz
cuberite-eb821ff240fabab6666705bd767e334c5220027a.tar.bz2
cuberite-eb821ff240fabab6666705bd767e334c5220027a.tar.lz
cuberite-eb821ff240fabab6666705bd767e334c5220027a.tar.xz
cuberite-eb821ff240fabab6666705bd767e334c5220027a.tar.zst
cuberite-eb821ff240fabab6666705bd767e334c5220027a.zip
Diffstat (limited to 'src/Root.cpp')
-rw-r--r--src/Root.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index aa3d43cba..b866e2369 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -154,7 +154,8 @@ void cRoot::Start(void)
m_WebAdmin->Init();
LOGD("Loading settings...");
- m_RankManager.Initialize(m_MojangAPI);
+ m_RankManager = new cRankManager();
+ m_RankManager->Initialize(m_MojangAPI);
m_CraftingRecipes = new cCraftingRecipes;
m_FurnaceRecipe = new cFurnaceRecipe();