summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-04 00:29:36 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-04 00:29:36 +0200
commit157f1c6688db8abe72c93a292f43d5a04040e0a4 (patch)
tree6bc75ef3703cd2cbbaeba3c6cb115fed87b62794 /src/Protocol/Protocol17x.cpp
parentAnvil: switched inflate to stream mode. (diff)
downloadcuberite-157f1c6688db8abe72c93a292f43d5a04040e0a4.tar
cuberite-157f1c6688db8abe72c93a292f43d5a04040e0a4.tar.gz
cuberite-157f1c6688db8abe72c93a292f43d5a04040e0a4.tar.bz2
cuberite-157f1c6688db8abe72c93a292f43d5a04040e0a4.tar.lz
cuberite-157f1c6688db8abe72c93a292f43d5a04040e0a4.tar.xz
cuberite-157f1c6688db8abe72c93a292f43d5a04040e0a4.tar.zst
cuberite-157f1c6688db8abe72c93a292f43d5a04040e0a4.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 1091b877f..00b115c8f 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -1,10 +1,12 @@
+
// Protocol17x.cpp
/*
Implements the 1.7.x protocol classes:
- cProtocol172
- release 1.7.2 protocol (#4)
-(others may be added later in the future for the 1.7 release series)
+ - cProtocol176
+ - release 1.7.6 protocol (#5)
*/
#include "Globals.h"
@@ -1710,7 +1712,7 @@ bool cProtocol172::HandlePacket(cByteBuffer & a_ByteBuffer, UInt32 a_PacketType)
void cProtocol172::HandlePacketStatusPing(cByteBuffer & a_ByteBuffer)
{
HANDLE_READ(a_ByteBuffer, ReadBEInt64, Int64, Timestamp);
-
+
cPacketizer Pkt(*this, 0x01); // Ping packet
Pkt.WriteInt64(Timestamp);
}