diff options
author | madmaxoft <github@xoft.cz> | 2014-07-11 13:13:10 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-11 13:13:10 +0200 |
commit | ebea2b7efc1775de66e0c6b6ee66da6f9ad04422 (patch) | |
tree | f86e409e2daa70c3b00b66db0666c6e072451fad /src/Server.cpp | |
parent | Fixed a missing return value. (diff) | |
download | cuberite-ebea2b7efc1775de66e0c6b6ee66da6f9ad04422.tar cuberite-ebea2b7efc1775de66e0c6b6ee66da6f9ad04422.tar.gz cuberite-ebea2b7efc1775de66e0c6b6ee66da6f9ad04422.tar.bz2 cuberite-ebea2b7efc1775de66e0c6b6ee66da6f9ad04422.tar.lz cuberite-ebea2b7efc1775de66e0c6b6ee66da6f9ad04422.tar.xz cuberite-ebea2b7efc1775de66e0c6b6ee66da6f9ad04422.tar.zst cuberite-ebea2b7efc1775de66e0c6b6ee66da6f9ad04422.zip |
Diffstat (limited to 'src/Server.cpp')
-rw-r--r-- | src/Server.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Server.cpp b/src/Server.cpp index 2c695cc70..5d1e51036 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -258,6 +258,9 @@ bool cServer::InitServer(cIniFile & a_SettingsIni) m_ServerID.resize(16, '0'); } + m_ShouldLoadOfflinePlayerData = a_SettingsIni.GetValueSetB("PlayerData", "LoadOfflinePlayerData", false); + m_ShouldLoadNamedPlayerData = a_SettingsIni.GetValueSetB("PlayerData", "LoadNamedPlayerData", true); + m_ClientViewDistance = a_SettingsIni.GetValueSetI("Server", "DefaultViewDistance", cClientHandle::DEFAULT_VIEW_DISTANCE); if (m_ClientViewDistance < cClientHandle::MIN_VIEW_DISTANCE) { |