summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-01-01 14:47:17 +0100
committerGitHub <noreply@github.com>2017-01-01 14:47:17 +0100
commitd4353f80844221e57724295f0754a1231734ddcc (patch)
treee76713f3e839c77eb8a8afe157b0eabe2c8dae1c
parentFix crash after calling OnTick on removed effect (#3501) (diff)
downloadcuberite-d4353f80844221e57724295f0754a1231734ddcc.tar
cuberite-d4353f80844221e57724295f0754a1231734ddcc.tar.gz
cuberite-d4353f80844221e57724295f0754a1231734ddcc.tar.bz2
cuberite-d4353f80844221e57724295f0754a1231734ddcc.tar.lz
cuberite-d4353f80844221e57724295f0754a1231734ddcc.tar.xz
cuberite-d4353f80844221e57724295f0754a1231734ddcc.tar.zst
cuberite-d4353f80844221e57724295f0754a1231734ddcc.zip
-rw-r--r--src/Root.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 206bddfbc..2a00c5cfa 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -155,7 +155,8 @@ void cRoot::Start(std::unique_ptr<cSettingsRepositoryInterface> a_OverridesRepo)
LOG("Starting server...");
- cClientHandle::FASTBREAK_PERCENTAGE = settingsRepo->GetValueSetI("AntiCheat", "FastBreakPercentage", 97) / 100.0f;
+ // cClientHandle::FASTBREAK_PERCENTAGE = settingsRepo->GetValueSetI("AntiCheat", "FastBreakPercentage", 97) / 100.0f;
+ cClientHandle::FASTBREAK_PERCENTAGE = 0; // AntiCheat disabled due to bugs. We will enabled it once they are fixed. See #3506.
m_MojangAPI = new cMojangAPI;
bool ShouldAuthenticate = settingsRepo->GetValueSetB("Authentication", "Authenticate", true);