diff options
author | Mattes D <github@xoft.cz> | 2016-12-16 00:28:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-16 00:28:12 +0100 |
commit | 71e14ee358e59314498e9b46484eff7e34ae6442 (patch) | |
tree | 56ca5369d83504ac063dbc3139f72dc2cdf42610 /src/ChunkMap.cpp | |
parent | APIDump: Load the official undocumented from alternate location. (diff) | |
parent | CompositeChat: Use shorter JSON format. (diff) | |
download | cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar.gz cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar.bz2 cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar.lz cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar.xz cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.tar.zst cuberite-71e14ee358e59314498e9b46484eff7e34ae6442.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); } |