summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authorMathias <mathias-github@users.noreply.github.com>2016-07-21 09:47:42 +0200
committerMattes D <github@xoft.cz>2016-07-21 09:47:42 +0200
commite7b4d7a7769d7b3f2f1477bee859198cf470b99d (patch)
tree1921166f7cbe6574fbca58e21b1c1f6433a10145 /src/Protocol/ProtocolRecognizer.cpp
parentREADME now has HTTPS links. (diff)
downloadcuberite-e7b4d7a7769d7b3f2f1477bee859198cf470b99d.tar
cuberite-e7b4d7a7769d7b3f2f1477bee859198cf470b99d.tar.gz
cuberite-e7b4d7a7769d7b3f2f1477bee859198cf470b99d.tar.bz2
cuberite-e7b4d7a7769d7b3f2f1477bee859198cf470b99d.tar.lz
cuberite-e7b4d7a7769d7b3f2f1477bee859198cf470b99d.tar.xz
cuberite-e7b4d7a7769d7b3f2f1477bee859198cf470b99d.tar.zst
cuberite-e7b4d7a7769d7b3f2f1477bee859198cf470b99d.zip
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r--src/Protocol/ProtocolRecognizer.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp
index 3977183e9..4e950bb7f 100644
--- a/src/Protocol/ProtocolRecognizer.cpp
+++ b/src/Protocol/ProtocolRecognizer.cpp
@@ -7,7 +7,6 @@
#include "Globals.h"
#include "ProtocolRecognizer.h"
-#include "Protocol17x.h"
#include "Protocol18x.h"
#include "Protocol19x.h"
#include "Packetizer.h"
@@ -48,8 +47,6 @@ AString cProtocolRecognizer::GetVersionTextFromInt(int a_ProtocolVersion)
{
switch (a_ProtocolVersion)
{
- case PROTO_VERSION_1_7_2: return "1.7.2";
- case PROTO_VERSION_1_7_6: return "1.7.6";
case PROTO_VERSION_1_8_0: return "1.8";
case PROTO_VERSION_1_9_0: return "1.9";
case PROTO_VERSION_1_9_1: return "1.9.1";
@@ -1024,16 +1021,6 @@ bool cProtocolRecognizer::TryRecognizeLengthedProtocol(UInt32 a_PacketLengthRema
m_Buffer.CommitRead();
switch (ProtocolVersion)
{
- case PROTO_VERSION_1_7_2:
- {
- m_Protocol = new cProtocol172(m_Client, ServerAddress, ServerPort, NextState);
- return true;
- }
- case PROTO_VERSION_1_7_6:
- {
- m_Protocol = new cProtocol176(m_Client, ServerAddress, ServerPort, NextState);
- return true;
- }
case PROTO_VERSION_1_8_0:
{
m_Buffer.CommitRead();