summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authormathiascode <mathiascode@users.noreply.github.com>2017-05-19 16:09:01 +0200
committerLukas Pioch <lukas@zgow.de>2017-05-19 19:51:03 +0200
commit8cf48f7682a2f75363fc4b4af8f9bfba028818c0 (patch)
tree6001f58c0a3f40e05c7d2588197d24930a83052b /src/Server.cpp
parentUse FastWriter instead of StyledWriter (diff)
downloadcuberite-8cf48f7682a2f75363fc4b4af8f9bfba028818c0.tar
cuberite-8cf48f7682a2f75363fc4b4af8f9bfba028818c0.tar.gz
cuberite-8cf48f7682a2f75363fc4b4af8f9bfba028818c0.tar.bz2
cuberite-8cf48f7682a2f75363fc4b4af8f9bfba028818c0.tar.lz
cuberite-8cf48f7682a2f75363fc4b4af8f9bfba028818c0.tar.xz
cuberite-8cf48f7682a2f75363fc4b4af8f9bfba028818c0.tar.zst
cuberite-8cf48f7682a2f75363fc4b4af8f9bfba028818c0.zip
Diffstat (limited to 'src/Server.cpp')
-rw-r--r--src/Server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index 95e0b535b..fbd190f0d 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -236,6 +236,7 @@ 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);