summaryrefslogtreecommitdiffstats
path: root/source/Server.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-05 22:15:39 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-05 22:15:39 +0100
commita263dc8e83d1dc805aac8469cc2c740d88336575 (patch)
tree282f0ded16c33662a2f13244c6fa949fcdce182b /source/Server.cpp
parentRemoved settings/webadmin.example.ini files (diff)
downloadcuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.gz
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.bz2
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.lz
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.xz
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.tar.zst
cuberite-a263dc8e83d1dc805aac8469cc2c740d88336575.zip
Diffstat (limited to 'source/Server.cpp')
-rw-r--r--source/Server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Server.cpp b/source/Server.cpp
index 380c7416e..75ce35cb7 100644
--- a/source/Server.cpp
+++ b/source/Server.cpp
@@ -195,9 +195,9 @@ void cServer::PlayerDestroying(const cPlayer * a_Player)
bool cServer::InitServer(cIniFile & a_SettingsIni)
{
- m_Description = a_SettingsIni.GetValueSet("Server", "Description", "MCServer - The Minecraft server in C++!").c_str();
+ m_Description = a_SettingsIni.GetValueSet("Server", "Description", "MCServer - in C++!").c_str();
m_MaxPlayers = a_SettingsIni.GetValueSetI("Server", "MaxPlayers", 100);
- m_bIsHardcore = a_SettingsIni.GetValueSetB("Server", "HardcoreEnabled");
+ m_bIsHardcore = a_SettingsIni.GetValueSetB("Server", "HardcoreEnabled", false);
m_PlayerCount = 0;
m_PlayerCountDiff = 0;