summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-28 23:34:54 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-03-30 00:36:15 +0200
commit8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace (patch)
tree53f66b6f7ae85b56612aa0f1980a8adb5f29d008 /src/Server.cpp
parentcIsThread cleanup (diff)
downloadcuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar.gz
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar.bz2
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar.lz
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar.xz
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar.zst
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.zip
Diffstat (limited to 'src/Server.cpp')
-rw-r--r--src/Server.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index 7e7aa0c67..3402a80fa 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -117,9 +117,7 @@ cServer::cServer(void) :
m_MaxPlayers(0),
m_bIsHardcore(false),
m_TickThread(*this),
- m_ShouldAuthenticate(false),
- m_ShouldLoadOfflinePlayerData(false),
- m_ShouldLoadNamedPlayerData(true)
+ m_ShouldAuthenticate(false)
{
// Initialize the LuaStateTracker singleton before the app goes multithreaded:
cLuaStateTracker::GetStats();
@@ -206,8 +204,6 @@ bool cServer::InitServer(cSettingsRepositoryInterface & a_Settings, bool a_Shoul
m_ShouldAllowMultiWorldTabCompletion = a_Settings.GetValueSetB("Server", "AllowMultiWorldTabCompletion", true);
m_ShouldLimitPlayerBlockChanges = a_Settings.GetValueSetB("AntiCheat", "LimitPlayerBlockChanges", true);
- m_ShouldLoadOfflinePlayerData = a_Settings.GetValueSetB("PlayerData", "LoadOfflinePlayerData", false);
- m_ShouldLoadNamedPlayerData = a_Settings.GetValueSetB("PlayerData", "LoadNamedPlayerData", true);
const auto ClientViewDistance = a_Settings.GetValueSetI("Server", "DefaultViewDistance", cClientHandle::DEFAULT_VIEW_DISTANCE);
if (ClientViewDistance < cClientHandle::MIN_VIEW_DISTANCE)