summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorKingCol13 <48412633+KingCol13@users.noreply.github.com>2020-10-02 22:57:17 +0200
committerGitHub <noreply@github.com>2020-10-02 22:57:17 +0200
commitcd1b50774512e09736b78df025163ab9b26bd528 (patch)
tree082bbf03758f8fe6e32711fbbf2104efdcb13994 /src/ClientHandle.h
parentUpdate issue templates (#4960) (diff)
downloadcuberite-cd1b50774512e09736b78df025163ab9b26bd528.tar
cuberite-cd1b50774512e09736b78df025163ab9b26bd528.tar.gz
cuberite-cd1b50774512e09736b78df025163ab9b26bd528.tar.bz2
cuberite-cd1b50774512e09736b78df025163ab9b26bd528.tar.lz
cuberite-cd1b50774512e09736b78df025163ab9b26bd528.tar.xz
cuberite-cd1b50774512e09736b78df025163ab9b26bd528.tar.zst
cuberite-cd1b50774512e09736b78df025163ab9b26bd528.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 0346e2a24..5b80d8c54 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -562,6 +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. */
float m_BreakProgress;
/** Finish logging the user in after authenticating. */