diff options
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 9f3cbb18d..c5949b57b 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -581,6 +581,9 @@ private: /** Returns true if the rate block interactions is within a reasonable limit (bot protection) */ bool CheckBlockInteractionsRate(void); + /** Returns whether the player could in fact reach the position they're attempting to interact with. */ + bool IsWithinReach(Vector3i a_Position) const; + /** Adds a single chunk to be streamed to the client; used by StreamChunks() */ void StreamChunk(int a_ChunkX, int a_ChunkZ, cChunkSender::Priority a_Priority); |