1
0

Merge pull request #1734 from mc-server/pistons

Handle client 'leave bed' request
This commit is contained in:
Mattes D
2015-03-14 22:44:04 +01:00
7 changed files with 46 additions and 57 deletions

View File

@@ -2105,9 +2105,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
}