summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-30 18:22:03 +0200
committertycho <work.tycho@gmail.com>2015-06-05 23:31:21 +0200
commit19c95ee5645db8e8d1e04d80ca44c21c11732c7f (patch)
treee53899b0ea68446b99dee439d2ff4e521f9ea812 /src/Chunk.cpp
parentMerge pull request #2206 from mc-server/APIDumpTimeStamp (diff)
downloadcuberite-19c95ee5645db8e8d1e04d80ca44c21c11732c7f.tar
cuberite-19c95ee5645db8e8d1e04d80ca44c21c11732c7f.tar.gz
cuberite-19c95ee5645db8e8d1e04d80ca44c21c11732c7f.tar.bz2
cuberite-19c95ee5645db8e8d1e04d80ca44c21c11732c7f.tar.lz
cuberite-19c95ee5645db8e8d1e04d80ca44c21c11732c7f.tar.xz
cuberite-19c95ee5645db8e8d1e04d80ca44c21c11732c7f.tar.zst
cuberite-19c95ee5645db8e8d1e04d80ca44c21c11732c7f.zip
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r--src/Chunk.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 7af669163..02bc2ba8c 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -2852,22 +2852,6 @@ void cChunk::BroadcastBlockEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cons
-void cChunk::BroadcastChunkData(cChunkDataSerializer & a_Serializer, const cClientHandle * a_Exclude)
-{
- for (cClientHandleList::iterator itr = m_LoadedByClient.begin(); itr != m_LoadedByClient.end(); ++itr)
- {
- if (*itr == a_Exclude)
- {
- continue;
- }
- (*itr)->SendChunkData(m_PosX, m_PosZ, a_Serializer);
- } // for itr - LoadedByClient[]
-}
-
-
-
-
-
void cChunk::BroadcastCollectEntity(const cEntity & a_Entity, const cPlayer & a_Player, const cClientHandle * a_Exclude)
{
for (cClientHandleList::iterator itr = m_LoadedByClient.begin(); itr != m_LoadedByClient.end(); ++itr)