From 9012e834d7babadd3f2f2a41cbb8d03b8fb689a1 Mon Sep 17 00:00:00 2001 From: "luksor111@gmail.com" Date: Wed, 31 Oct 2012 20:18:01 +0000 Subject: Initial 1.4.2 support. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1019 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Protocol/ProtocolRecognizer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/Protocol/ProtocolRecognizer.cpp') diff --git a/source/Protocol/ProtocolRecognizer.cpp b/source/Protocol/ProtocolRecognizer.cpp index fcd61d269..5b266bd34 100644 --- a/source/Protocol/ProtocolRecognizer.cpp +++ b/source/Protocol/ProtocolRecognizer.cpp @@ -9,6 +9,7 @@ #include "ProtocolRecognizer.h" #include "Protocol125.h" #include "Protocol132.h" +#include "Protocol142.h" #include "../ClientHandle.h" #include "../Root.h" #include "../World.h" @@ -567,6 +568,11 @@ bool cProtocolRecognizer::TryRecognizeProtocol(void) m_Protocol = new cProtocol132(m_Client); return true; } + if (ch == PROTO_VERSION_1_4_2) + { + m_Protocol = new cProtocol142(m_Client); + return true; + } m_Protocol = new cProtocol125(m_Client); return true; } -- cgit v1.2.3