summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-24 09:34:20 +0100
committermadmaxoft <github@xoft.cz>2014-02-24 09:34:37 +0100
commit31d15f865456dd0419e5c765498344fdd99cf179 (patch)
tree699c07bf151271b56df9761d825c399fd46e3aac /src/Chunk.cpp
parentFixed crash in cBlockArea rotation. (diff)
downloadcuberite-31d15f865456dd0419e5c765498344fdd99cf179.tar
cuberite-31d15f865456dd0419e5c765498344fdd99cf179.tar.gz
cuberite-31d15f865456dd0419e5c765498344fdd99cf179.tar.bz2
cuberite-31d15f865456dd0419e5c765498344fdd99cf179.tar.lz
cuberite-31d15f865456dd0419e5c765498344fdd99cf179.tar.xz
cuberite-31d15f865456dd0419e5c765498344fdd99cf179.tar.zst
cuberite-31d15f865456dd0419e5c765498344fdd99cf179.zip
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r--src/Chunk.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 4f301c209..8dfbbeef5 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -562,13 +562,6 @@ void cChunk::Tick(float a_Dt)
{
BroadcastPendingBlockChanges();
- // Unload the chunk from all clients that have queued unloading:
- for (cClientHandleList::iterator itr = m_UnloadQuery.begin(), end = m_UnloadQuery.end(); itr != end; ++itr)
- {
- (*itr)->SendUnloadChunk(m_PosX, m_PosZ);
- }
- m_UnloadQuery.clear();
-
// Set all blocks that have been queued for setting later:
ProcessQueuedSetBlocks();