summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_13.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-20 09:55:11 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-20 10:28:02 +0200
commit07f3f7ec30ed0e751f614720b2f189f8d9f442cc (patch)
treedcde6ffe381e219a22756ea914037302840c9f76 /src/Protocol/Protocol_1_13.cpp
parentRemove GetProtocolVersion unneeded comments (diff)
downloadcuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar.gz
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar.bz2
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar.lz
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar.xz
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.tar.zst
cuberite-07f3f7ec30ed0e751f614720b2f189f8d9f442cc.zip
Diffstat (limited to 'src/Protocol/Protocol_1_13.cpp')
-rw-r--r--src/Protocol/Protocol_1_13.cpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/Protocol/Protocol_1_13.cpp b/src/Protocol/Protocol_1_13.cpp
index cab839678..c8c2e7383 100644
--- a/src/Protocol/Protocol_1_13.cpp
+++ b/src/Protocol/Protocol_1_13.cpp
@@ -8,8 +8,6 @@ Implements the 1.13 protocol classes:
#include "Globals.h"
#include "Protocol_1_13.h"
-#include "ProtocolRecognizer.h"
-#include "ChunkDataSerializer.h"
#include "Packetizer.h"
#include "../Entities/Boat.h"
@@ -199,15 +197,6 @@ void cProtocol_1_13::SendUpdateBlockEntity(cBlockEntity & a_BlockEntity)
-cProtocol::Version cProtocol_1_13::GetProtocolVersion()
-{
- return Version::Version_1_13;
-}
-
-
-
-
-
bool cProtocol_1_13::HandlePacket(cByteBuffer & a_ByteBuffer, UInt32 a_PacketType)
{
if (m_State != 3)
@@ -286,6 +275,15 @@ void cProtocol_1_13::HandlePacketPluginMessage(cByteBuffer & a_ByteBuffer)
+cProtocol::Version cProtocol_1_13::GetProtocolVersion()
+{
+ return Version::Version_1_13;
+}
+
+
+
+
+
UInt32 cProtocol_1_13::GetPacketID(ePacketType a_PacketType)
{
switch (a_PacketType)