summaryrefslogtreecommitdiffstats
path: root/src/World.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/World.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 'src/World.cpp')
-rw-r--r--src/World.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 5b067b386..bd7694e96 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1877,9 +1877,18 @@ void cWorld::BroadcastChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerializer
+void cWorld::BroadcastCollectEntity(const cEntity & a_Entity, const cPlayer & a_Player, const cClientHandle * a_Exclude)
+{
+ m_ChunkMap->BroadcastCollectEntity(a_Entity, a_Player, a_Exclude);
+}
+
+
+
+
+
void cWorld::BroadcastCollectPickup(const cPickup & a_Pickup, const cPlayer & a_Player, const cClientHandle * a_Exclude)
{
- m_ChunkMap->BroadcastCollectPickup(a_Pickup, a_Player, a_Exclude);
+ m_ChunkMap->BroadcastCollectEntity(a_Pickup, a_Player, a_Exclude);
}