diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2013-10-29 21:45:31 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2013-10-29 21:45:31 +0100 |
commit | 52d956ccf345c46a605894c4962c8171ece4dd87 (patch) | |
tree | e5f273957da9d7aa5896d50adca6f4dc9b23a3a3 /source/ClientHandle.cpp | |
parent | Fixed bug where creative inventory didn't work. (diff) | |
download | cuberite-52d956ccf345c46a605894c4962c8171ece4dd87.tar cuberite-52d956ccf345c46a605894c4962c8171ece4dd87.tar.gz cuberite-52d956ccf345c46a605894c4962c8171ece4dd87.tar.bz2 cuberite-52d956ccf345c46a605894c4962c8171ece4dd87.tar.lz cuberite-52d956ccf345c46a605894c4962c8171ece4dd87.tar.xz cuberite-52d956ccf345c46a605894c4962c8171ece4dd87.tar.zst cuberite-52d956ccf345c46a605894c4962c8171ece4dd87.zip |
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r-- | source/ClientHandle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp index c67e829d2..ea8b48f9d 100644 --- a/source/ClientHandle.cpp +++ b/source/ClientHandle.cpp @@ -650,7 +650,7 @@ void cClientHandle::HandleBlockDigStarted(int a_BlockX, int a_BlockY, int a_Bloc m_LastDigBlockZ = a_BlockZ; if ( - (m_Player->GetGameMode() == eGameMode_Creative) || // In creative mode, digging is done immediately + (m_Player->IsGameModeCreative()) || // In creative mode, digging is done immediately g_BlockOneHitDig[a_OldBlock] // One-hit blocks get destroyed immediately, too ) { |