summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2016-12-18 21:41:26 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2016-12-18 21:41:26 +0100
commit31b86f3886e4b8991861b007df091faafc8be782 (patch)
treedd491351e4763eb3cd2f583843c494b2a9d8ddd8 /src/ChunkMap.cpp
parenttest (diff)
downloadcuberite-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.cpp4
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)
{