summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol18x.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-02-08 22:21:48 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-02-08 22:21:48 +0100
commit3869f76cc23c6ed1df1ad4f6de9c2561f95e08f0 (patch)
tree263dd59173d388fa8e7c83d51c928004a230737a /src/Protocol/Protocol18x.cpp
parentProtocol 1.7: Fixed Coverity issues. (diff)
downloadcuberite-3869f76cc23c6ed1df1ad4f6de9c2561f95e08f0.tar
cuberite-3869f76cc23c6ed1df1ad4f6de9c2561f95e08f0.tar.gz
cuberite-3869f76cc23c6ed1df1ad4f6de9c2561f95e08f0.tar.bz2
cuberite-3869f76cc23c6ed1df1ad4f6de9c2561f95e08f0.tar.lz
cuberite-3869f76cc23c6ed1df1ad4f6de9c2561f95e08f0.tar.xz
cuberite-3869f76cc23c6ed1df1ad4f6de9c2561f95e08f0.tar.zst
cuberite-3869f76cc23c6ed1df1ad4f6de9c2561f95e08f0.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol18x.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Protocol/Protocol18x.cpp b/src/Protocol/Protocol18x.cpp
index 9b0f1c37c..9f4759800 100644
--- a/src/Protocol/Protocol18x.cpp
+++ b/src/Protocol/Protocol18x.cpp
@@ -2101,9 +2101,7 @@ void cProtocol180::HandlePacketLoginStart(cByteBuffer & a_ByteBuffer)
void cProtocol180::HandlePacketAnimation(cByteBuffer & a_ByteBuffer)
{
- HANDLE_READ(a_ByteBuffer, ReadBEInt, int, EntityID);
- HANDLE_READ(a_ByteBuffer, ReadByte, Byte, Animation);
- m_Client->HandleAnimation(Animation);
+ m_Client->HandleAnimation(1); // Packet exists solely for arm-swing notification
}