summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-09-03 09:39:52 +0200
committerGitHub <noreply@github.com>2016-09-03 09:39:52 +0200
commit5625598afac8db3b35d790b8d1228997b228f228 (patch)
tree1a033fbb90f3a0f144d1c817bde397cd79941642 /src/ClientHandle.h
parentAdded support for the Minecraft 1.10 protocol(#210) (#3348) (diff)
downloadcuberite-5625598afac8db3b35d790b8d1228997b228f228.tar
cuberite-5625598afac8db3b35d790b8d1228997b228f228.tar.gz
cuberite-5625598afac8db3b35d790b8d1228997b228f228.tar.bz2
cuberite-5625598afac8db3b35d790b8d1228997b228f228.tar.lz
cuberite-5625598afac8db3b35d790b8d1228997b228f228.tar.xz
cuberite-5625598afac8db3b35d790b8d1228997b228f228.tar.zst
cuberite-5625598afac8db3b35d790b8d1228997b228f228.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index da59bdea8..7d829653b 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -125,7 +125,8 @@ public: // tolua_export
/** Remove all loaded chunks that are no longer in range */
void UnloadOutOfRangeChunks(void);
- // Removes the client from all chunks. Used when switching worlds or destroying the player
+ /** Removes the client from all chunks. Used when destroying the player.
+ When switching worlds, RemoveFromWorld does this function's job so it isn't called. */
void RemoveFromAllChunks(void);
inline bool IsLoggedIn(void) const { return (m_State >= csAuthenticating); }