summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-09-21 15:12:43 +0200
committerAlexander Harkness <me@bearbin.net>2017-09-21 15:12:43 +0200
commite883aa828c304600fcd707b50df9515011311db8 (patch)
treed2a14af47bf001df1fb2705278fad8a75682f883 /src/Protocol/ProtocolRecognizer.cpp
parentOnly allow snow to be placed where valid. Fixes #2920. (diff)
downloadcuberite-e883aa828c304600fcd707b50df9515011311db8.tar
cuberite-e883aa828c304600fcd707b50df9515011311db8.tar.gz
cuberite-e883aa828c304600fcd707b50df9515011311db8.tar.bz2
cuberite-e883aa828c304600fcd707b50df9515011311db8.tar.lz
cuberite-e883aa828c304600fcd707b50df9515011311db8.tar.xz
cuberite-e883aa828c304600fcd707b50df9515011311db8.tar.zst
cuberite-e883aa828c304600fcd707b50df9515011311db8.zip
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r--src/Protocol/ProtocolRecognizer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp
index cb2a4fc9d..912091acc 100644
--- a/src/Protocol/ProtocolRecognizer.cpp
+++ b/src/Protocol/ProtocolRecognizer.cpp
@@ -1133,6 +1133,11 @@ bool cProtocolRecognizer::TryRecognizeLengthedProtocol(UInt32 a_PacketLengthRema
m_Protocol = new cProtocol_1_12_1(m_Client, ServerAddress, ServerPort, NextState);
return true;
}
+ case PROTO_VERSION_1_12_2:
+ {
+ m_Protocol = new cProtocol_1_12_2(m_Client, ServerAddress, ServerPort, NextState);
+ return true;
+ }
default:
{
LOGD("Client \"%s\" uses an unsupported protocol (lengthed, version %u (0x%x))",