diff options
author | Mattes D <github@xoft.cz> | 2014-08-21 15:29:54 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-21 15:29:54 +0200 |
commit | 8acc8831879582e24c53c18d0442db0b1df6c6b6 (patch) | |
tree | a1d8777a198b64d791c47288c3ed651bb638e0bf /src/Root.cpp | |
parent | cMojangAPI: Fixed MakeUUID___() bindings. (diff) | |
download | cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar.gz cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar.bz2 cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar.lz cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar.xz cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.tar.zst cuberite-8acc8831879582e24c53c18d0442db0b1df6c6b6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Root.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index 333d92de5..18221781d 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -6,7 +6,6 @@ #include "World.h" #include "WebAdmin.h" #include "FurnaceRecipe.h" -#include "GroupManager.h" #include "CraftingRecipes.h" #include "Bindings/PluginManager.h" #include "MonsterConfig.h" @@ -46,7 +45,6 @@ cRoot::cRoot(void) : m_InputThread(NULL), m_Server(NULL), m_MonsterConfig(NULL), - m_GroupManager(NULL), m_CraftingRecipes(NULL), m_FurnaceRecipe(NULL), m_WebAdmin(NULL), @@ -157,7 +155,6 @@ void cRoot::Start(void) LOGD("Loading settings..."); m_RankManager.Initialize(m_MojangAPI); - m_GroupManager = new cGroupManager(); m_CraftingRecipes = new cCraftingRecipes; m_FurnaceRecipe = new cFurnaceRecipe(); @@ -236,8 +233,6 @@ void cRoot::Start(void) LOGD("Unloading recipes..."); delete m_FurnaceRecipe; m_FurnaceRecipe = NULL; delete m_CraftingRecipes; m_CraftingRecipes = NULL; - LOGD("Forgetting groups..."); - delete m_GroupManager; m_GroupManager = NULL; LOGD("Unloading worlds..."); UnloadWorlds(); @@ -546,17 +541,6 @@ void cRoot::SaveAllChunks(void) -void cRoot::ReloadGroups(void) -{ - LOG("Reload groups ..."); - m_GroupManager->LoadGroups(); - m_GroupManager->CheckUsers(); -} - - - - - void cRoot::BroadcastChat(const AString & a_Message, eMessageType a_ChatPrefix) { for (WorldMap::iterator itr = m_WorldsByName.begin(), end = m_WorldsByName.end(); itr != end; ++itr) |