diff options
author | Mattes D <github@xoft.cz> | 2016-12-15 20:21:43 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-12-16 00:07:22 +0100 |
commit | 0e3b3be7662f03b7487408f70548eaca1188da3d (patch) | |
tree | 3751d17812c46e5847684d8f968f24c4a4e268d2 /src/ChunkMap.cpp | |
parent | APIDump: Load the official undocumented from alternate location. (diff) | |
download | cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.gz cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.bz2 cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.lz cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.xz cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.zst cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.zip |
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r-- | src/ChunkMap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index e608f6b30..ee097f59e 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -332,7 +332,7 @@ void cChunkMap::BroadcastBlockEntity(int a_BlockX, int a_BlockY, int a_BlockZ, c -void cChunkMap::BroadcastCollectEntity(const cEntity & a_Entity, const cPlayer & a_Player, const cClientHandle * a_Exclude) +void cChunkMap::BroadcastCollectEntity(const cEntity & a_Entity, const cPlayer & a_Player, int a_Count, const cClientHandle * a_Exclude) { cCSLock Lock(m_CSChunks); cChunkPtr Chunk = GetChunkNoGen(a_Entity.GetChunkX(), a_Entity.GetChunkZ()); @@ -341,7 +341,7 @@ void cChunkMap::BroadcastCollectEntity(const cEntity & a_Entity, const cPlayer & return; } // It's perfectly legal to broadcast packets even to invalid chunks! - Chunk->BroadcastCollectEntity(a_Entity, a_Player, a_Exclude); + Chunk->BroadcastCollectEntity(a_Entity, a_Player, a_Count, a_Exclude); } |