diff options
author | madmaxoft <github@xoft.cz> | 2013-12-12 23:05:02 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-12 23:05:02 +0100 |
commit | f3c9ea0ed2b99208117e40345cf1e39224831cf6 (patch) | |
tree | 849c2bbc45c104c77e4a734e7bc44bcb2ad7d806 /src/Protocol | |
parent | Fixed pistons being viable middle block (diff) | |
download | cuberite-f3c9ea0ed2b99208117e40345cf1e39224831cf6.tar cuberite-f3c9ea0ed2b99208117e40345cf1e39224831cf6.tar.gz cuberite-f3c9ea0ed2b99208117e40345cf1e39224831cf6.tar.bz2 cuberite-f3c9ea0ed2b99208117e40345cf1e39224831cf6.tar.lz cuberite-f3c9ea0ed2b99208117e40345cf1e39224831cf6.tar.xz cuberite-f3c9ea0ed2b99208117e40345cf1e39224831cf6.tar.zst cuberite-f3c9ea0ed2b99208117e40345cf1e39224831cf6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 75983e9a3..f437c438e 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -1031,8 +1031,6 @@ void cProtocol172::HandlePacket(UInt32 a_PacketType, UInt32 a_RemainingBytes) // Unknown packet type, report to the client: m_Client->PacketUnknown(a_PacketType); - m_ReceivedData.SkipRead(a_RemainingBytes); - m_ReceivedData.CommitRead(); } @@ -1045,8 +1043,6 @@ void cProtocol172::HandlePacketStatusPing(UInt32 a_RemainingBytes) if (a_RemainingBytes != 8) { m_Client->PacketError(0x01); - m_ReceivedData.SkipRead(a_RemainingBytes); - m_ReceivedData.CommitRead(); return; } Int64 Timestamp; |