summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-06-27 20:56:29 +0200
committerMattes D <github@xoft.cz>2014-06-27 20:56:44 +0200
commit9926abd4f55d668dec9e06c2ba23fa3bb9209eeb (patch)
tree60c0b01aea8d40c5bb4495bacb57914d3c13933b /src/Chunk.cpp
parentMerge pull request #1129 from mc-server/CodeCoverageCondition (diff)
downloadcuberite-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 '')
-rw-r--r--src/Chunk.cpp4
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[]
}