summaryrefslogtreecommitdiffstats
path: root/src/Root.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-21 15:29:54 +0200
committerMattes D <github@xoft.cz>2014-08-21 15:29:54 +0200
commit8acc8831879582e24c53c18d0442db0b1df6c6b6 (patch)
treea1d8777a198b64d791c47288c3ed651bb638e0bf /src/Root.cpp
parentcMojangAPI: Fixed MakeUUID___() bindings. (diff)
downloadcuberite-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 'src/Root.cpp')
-rw-r--r--src/Root.cpp16
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)