diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2016-12-18 21:41:26 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2016-12-18 21:41:26 +0100 |
commit | 31b86f3886e4b8991861b007df091faafc8be782 (patch) | |
tree | dd491351e4763eb3cd2f583843c494b2a9d8ddd8 /src/ChunkMap.cpp | |
parent | test (diff) | |
download | cuberite-31b86f3886e4b8991861b007df091faafc8be782.tar cuberite-31b86f3886e4b8991861b007df091faafc8be782.tar.gz cuberite-31b86f3886e4b8991861b007df091faafc8be782.tar.bz2 cuberite-31b86f3886e4b8991861b007df091faafc8be782.tar.lz cuberite-31b86f3886e4b8991861b007df091faafc8be782.tar.xz cuberite-31b86f3886e4b8991861b007df091faafc8be782.tar.zst cuberite-31b86f3886e4b8991861b007df091faafc8be782.zip |
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r-- | src/ChunkMap.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index 7f53865d0..2e6153f0e 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -1582,10 +1582,7 @@ void cChunkMap::RemoveChunkClient(int a_ChunkX, int a_ChunkZ, const std::shared_ - -void cChunkMap::RemoveClientFromChunks(cClientHandle * a_Client) { - cCSLock Lock(m_CSChunks); for (const auto & Chunk : m_Chunks) { Chunk.second->RemoveClient(a_Client); @@ -1613,6 +1610,7 @@ void cChunkMap::AddEntity(cEntity * a_Entity) + ASSERT(GetWorld()->IsInTickThread()); void cChunkMap::AddEntityIfNotPresent(cEntity * a_Entity) { |