summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol125.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/Protocol/Protocol125.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/Protocol/Protocol125.cpp')
-rw-r--r--src/Protocol/Protocol125.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol125.cpp b/src/Protocol/Protocol125.cpp
index 491058919..d53427bf7 100644
--- a/src/Protocol/Protocol125.cpp
+++ b/src/Protocol/Protocol125.cpp
@@ -274,11 +274,11 @@ void cProtocol125::SendChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerialize
-void cProtocol125::SendCollectPickup(const cPickup & a_Pickup, const cPlayer & a_Player)
+void cProtocol125::SendCollectEntity(const cEntity & a_Entity, const cPlayer & a_Player)
{
cCSLock Lock(m_CSPacket);
WriteByte(PACKET_COLLECT_PICKUP);
- WriteInt (a_Pickup.GetUniqueID());
+ WriteInt (a_Entity.GetUniqueID());
WriteInt (a_Player.GetUniqueID());
Flush();
}