diff options
Diffstat (limited to '')
-rw-r--r-- | source/Protocol/ProtocolRecognizer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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;
}
|