diff options
author | Mattes D <github@xoft.cz> | 2014-09-28 22:04:30 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-28 22:04:30 +0200 |
commit | 8d55cd409e38d8759b61e89a4b3dea678c1e5f98 (patch) | |
tree | b587e2f8d0b1536e1e4ff0d0bc62c998eccd5141 /src/Root.cpp | |
parent | Merge pull request #1463 from mc-server/sp_docs (diff) | |
parent | Compilation fix (diff) | |
download | cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.gz cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.bz2 cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.lz cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.xz cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.zst cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Root.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index 966a9b4ba..aa3d43cba 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -42,7 +42,6 @@ cRoot* cRoot::s_Root = NULL; cRoot::cRoot(void) : - m_PrimaryServerVersion(cProtocolRecognizer::PROTO_VERSION_LATEST), m_pDefaultWorld(NULL), m_InputThread(NULL), m_Server(NULL), @@ -142,17 +141,6 @@ void cRoot::Start(void) IniFile.AddHeaderComment(" See: http://wiki.mc-server.org/doku.php?id=configure:settings.ini for further configuration help"); } - m_PrimaryServerVersion = IniFile.GetValueI("Server", "PrimaryServerVersion", 0); - if (m_PrimaryServerVersion == 0) - { - m_PrimaryServerVersion = cProtocolRecognizer::PROTO_VERSION_LATEST; - } - else - { - // Make a note in the log that the primary server version is explicitly set in the ini file - LOGINFO("Primary server version set explicitly to %d.", m_PrimaryServerVersion); - } - LOG("Starting server..."); m_MojangAPI.Start(IniFile); // Mojang API needs to be started before plugins, so that plugins may use it for DB upgrades on server init if (!m_Server->InitServer(IniFile)) |