summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-11-06 15:58:47 +0100
committerGitHub <noreply@github.com>2020-11-06 15:58:47 +0100
commit645fea423764e9d91e46b84a63aba5a47b954c6a (patch)
treefee34fff873294c2f16ba92a6477143d45e83b7d /src/ClientHandle.h
parentRein in light spread by correcting falloff value (diff)
downloadcuberite-645fea423764e9d91e46b84a63aba5a47b954c6a.tar
cuberite-645fea423764e9d91e46b84a63aba5a47b954c6a.tar.gz
cuberite-645fea423764e9d91e46b84a63aba5a47b954c6a.tar.bz2
cuberite-645fea423764e9d91e46b84a63aba5a47b954c6a.tar.lz
cuberite-645fea423764e9d91e46b84a63aba5a47b954c6a.tar.xz
cuberite-645fea423764e9d91e46b84a63aba5a47b954c6a.tar.zst
cuberite-645fea423764e9d91e46b84a63aba5a47b954c6a.zip
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index ab6e5e730..e955911bf 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -562,8 +562,8 @@ private:
/** Shared pointer to self, so that this instance can keep itself alive when needed. */
cClientHandlePtr m_Self;
- /** The fraction between 0 and 1, of how far through mining the currently mined block is.
- 0 for just started, 1 for broken. Used for anti-cheat. */
+ /** The fraction between 0 and 1 (or above), of how far through mining the currently mined block is.
+ 0 for just started, 1 and above for broken. Used for anti-cheat. */
float m_BreakProgress;
/** Finish logging the user in after authenticating. */
@@ -576,10 +576,10 @@ private:
void StreamChunk(int a_ChunkX, int a_ChunkZ, cChunkSender::Priority a_Priority);
/** Handles the DIG_STARTED dig packet: */
- void HandleBlockDigStarted (int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, BLOCKTYPE a_OldBlock, NIBBLETYPE a_OldMeta);
+ void HandleBlockDigStarted (int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace);
/** Handles the DIG_FINISHED dig packet: */
- void HandleBlockDigFinished(int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, BLOCKTYPE a_OldBlock, NIBBLETYPE a_OldMeta);
+ void HandleBlockDigFinished(int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace);
/** The clients will receive a finished dig animation */
void FinishDigAnimation();