diff options
author | Mattes D <github@xoft.cz> | 2014-06-27 20:56:29 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-06-27 20:56:44 +0200 |
commit | 9926abd4f55d668dec9e06c2ba23fa3bb9209eeb (patch) | |
tree | 60c0b01aea8d40c5bb4495bacb57914d3c13933b /src/Chunk.cpp | |
parent | Merge pull request #1129 from mc-server/CodeCoverageCondition (diff) | |
download | cuberite-9926abd4f55d668dec9e06c2ba23fa3bb9209eeb.tar cuberite-9926abd4f55d668dec9e06c2ba23fa3bb9209eeb.tar.gz cuberite-9926abd4f55d668dec9e06c2ba23fa3bb9209eeb.tar.bz2 cuberite-9926abd4f55d668dec9e06c2ba23fa3bb9209eeb.tar.lz cuberite-9926abd4f55d668dec9e06c2ba23fa3bb9209eeb.tar.xz cuberite-9926abd4f55d668dec9e06c2ba23fa3bb9209eeb.tar.zst cuberite-9926abd4f55d668dec9e06c2ba23fa3bb9209eeb.zip |
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r-- | src/Chunk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 1320d5ccd..0fee40cac 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -2701,7 +2701,7 @@ void cChunk::BroadcastChunkData(cChunkDataSerializer & a_Serializer, const cClie -void cChunk::BroadcastCollectPickup(const cPickup & a_Pickup, const cPlayer & a_Player, const cClientHandle * a_Exclude) +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 ) { @@ -2709,7 +2709,7 @@ void cChunk::BroadcastCollectPickup(const cPickup & a_Pickup, const cPlayer & a_ { continue; } - (*itr)->SendCollectPickup(a_Pickup, a_Player); + (*itr)->SendCollectEntity(a_Entity, a_Player); } // for itr - LoadedByClient[] } |