summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-10-30 22:04:04 +0100
committerHowaner <franzi.moos@googlemail.com>2014-10-30 22:04:04 +0100
commitd93acb841f5d78a25ced74e01c984c1604459e5e (patch)
tree32f397f0b0f0de8d8c5db8b2071c7256ae694208
parentMerge pull request #1576 from mc-server/QtBiomeVisualiserThreadedGen (diff)
downloadcuberite-d93acb841f5d78a25ced74e01c984c1604459e5e.tar
cuberite-d93acb841f5d78a25ced74e01c984c1604459e5e.tar.gz
cuberite-d93acb841f5d78a25ced74e01c984c1604459e5e.tar.bz2
cuberite-d93acb841f5d78a25ced74e01c984c1604459e5e.tar.lz
cuberite-d93acb841f5d78a25ced74e01c984c1604459e5e.tar.xz
cuberite-d93acb841f5d78a25ced74e01c984c1604459e5e.tar.zst
cuberite-d93acb841f5d78a25ced74e01c984c1604459e5e.zip
-rw-r--r--src/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index faee05450..94bace43a 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -557,7 +557,7 @@ void cClientHandle::UnloadOutOfRangeChunks(void)
for (cChunkCoordsList::iterator itr = ChunksToRemove.begin(); itr != ChunksToRemove.end(); ++itr)
{
m_Player->GetWorld()->RemoveChunkClient(itr->m_ChunkX, itr->m_ChunkZ, this);
- m_Protocol->SendUnloadChunk(itr->m_ChunkX, itr->m_ChunkZ);
+ SendUnloadChunk(itr->m_ChunkX, itr->m_ChunkZ);
}
}