summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.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/Protocol17x.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/Protocol/Protocol17x.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 02c577dc8..49fef0b8e 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -351,12 +351,12 @@ void cProtocol172::SendChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerialize
-void cProtocol172::SendCollectPickup(const cPickup & a_Pickup, const cPlayer & a_Player)
+void cProtocol172::SendCollectEntity(const cEntity & a_Entity, const cPlayer & a_Player)
{
ASSERT(m_State == 3); // In game mode?
cPacketizer Pkt(*this, 0x0d); // Collect Item packet
- Pkt.WriteInt(a_Pickup.GetUniqueID());
+ Pkt.WriteInt(a_Entity.GetUniqueID());
Pkt.WriteInt(a_Player.GetUniqueID());
}