summaryrefslogtreecommitdiffstats
path: root/source/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-19 20:49:09 +0200
committermadmaxoft <github@xoft.cz>2013-09-19 20:49:09 +0200
commit111fd58914854bdb93c9e72566a689cfd484c0c3 (patch)
tree5bc172b2a09b1c6d8907e1a0bbc722816072a83c /source/Protocol/ProtocolRecognizer.cpp
parentAPIDump: Automatic corrections. (diff)
downloadcuberite-111fd58914854bdb93c9e72566a689cfd484c0c3.tar
cuberite-111fd58914854bdb93c9e72566a689cfd484c0c3.tar.gz
cuberite-111fd58914854bdb93c9e72566a689cfd484c0c3.tar.bz2
cuberite-111fd58914854bdb93c9e72566a689cfd484c0c3.tar.lz
cuberite-111fd58914854bdb93c9e72566a689cfd484c0c3.tar.xz
cuberite-111fd58914854bdb93c9e72566a689cfd484c0c3.tar.zst
cuberite-111fd58914854bdb93c9e72566a689cfd484c0c3.zip
Diffstat (limited to '')
-rw-r--r--source/Protocol/ProtocolRecognizer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/Protocol/ProtocolRecognizer.cpp b/source/Protocol/ProtocolRecognizer.cpp
index 853018329..fe99b22e1 100644
--- a/source/Protocol/ProtocolRecognizer.cpp
+++ b/source/Protocol/ProtocolRecognizer.cpp
@@ -55,6 +55,8 @@ AString cProtocolRecognizer::GetVersionTextFromInt(int a_ProtocolVersion)
case PROTO_VERSION_1_5_2: return "1.5.2";
case PROTO_VERSION_1_6_1: return "1.6.1";
case PROTO_VERSION_1_6_2: return "1.6.2";
+ case PROTO_VERSION_1_6_3: return "1.6.3";
+ case PROTO_VERSION_1_6_4: return "1.6.4";
}
ASSERT(!"Unknown protocol version");
return Printf("Unknown protocol (%d)", a_ProtocolVersion);
@@ -707,6 +709,8 @@ bool cProtocolRecognizer::TryRecognizeProtocol(void)
return true;
}
case PROTO_VERSION_1_6_2:
+ case PROTO_VERSION_1_6_3:
+ case PROTO_VERSION_1_6_4:
{
m_Protocol = new cProtocol162(m_Client);
return true;
@@ -746,6 +750,8 @@ void cProtocolRecognizer::HandleServerPing(void)
case PROTO_VERSION_1_5_2:
case PROTO_VERSION_1_6_1:
case PROTO_VERSION_1_6_2:
+ case PROTO_VERSION_1_6_3:
+ case PROTO_VERSION_1_6_4:
{
// The server list ping now has 1 more byte of "magic". Mojang just loves to complicate stuff.
// http://wiki.vg/wiki/index.php?title=Protocol&oldid=3101#Server_List_Ping_.280xFE.29