summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-31 19:27:35 +0100
committerMattes D <github@xoft.cz>2014-10-31 19:27:35 +0100
commit0dd804a59120ce495224f98a0acabc69c6924b08 (patch)
tree9669c462a28a40229b6b2690d7e1613dfe7392c7 /src/ClientHandle.cpp
parentGrownProt biomes: added alterations. (diff)
parentcLuaState: Fixed errors on non-existent callbacks. (diff)
downloadcuberite-0dd804a59120ce495224f98a0acabc69c6924b08.tar
cuberite-0dd804a59120ce495224f98a0acabc69c6924b08.tar.gz
cuberite-0dd804a59120ce495224f98a0acabc69c6924b08.tar.bz2
cuberite-0dd804a59120ce495224f98a0acabc69c6924b08.tar.lz
cuberite-0dd804a59120ce495224f98a0acabc69c6924b08.tar.xz
cuberite-0dd804a59120ce495224f98a0acabc69c6924b08.tar.zst
cuberite-0dd804a59120ce495224f98a0acabc69c6924b08.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-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);
}
}