summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-05 20:19:21 +0200
committerMattes D <github@xoft.cz>2014-10-05 20:19:21 +0200
commita8aeceab9d6e5e5e36ef7bd58783b65aca4d8be7 (patch)
treeae3a23a0691b741c7b369f84a1de96126bf73aa6 /src/Protocol/ProtocolRecognizer.cpp
parentUpdate README.md (diff)
downloadcuberite-a8aeceab9d6e5e5e36ef7bd58783b65aca4d8be7.tar
cuberite-a8aeceab9d6e5e5e36ef7bd58783b65aca4d8be7.tar.gz
cuberite-a8aeceab9d6e5e5e36ef7bd58783b65aca4d8be7.tar.bz2
cuberite-a8aeceab9d6e5e5e36ef7bd58783b65aca4d8be7.tar.lz
cuberite-a8aeceab9d6e5e5e36ef7bd58783b65aca4d8be7.tar.xz
cuberite-a8aeceab9d6e5e5e36ef7bd58783b65aca4d8be7.tar.zst
cuberite-a8aeceab9d6e5e5e36ef7bd58783b65aca4d8be7.zip
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r--src/Protocol/ProtocolRecognizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp
index 4f8eb59db..15bcd03b1 100644
--- a/src/Protocol/ProtocolRecognizer.cpp
+++ b/src/Protocol/ProtocolRecognizer.cpp
@@ -905,6 +905,7 @@ bool cProtocolRecognizer::TryRecognizeLengthedProtocol(UInt32 a_PacketLengthRema
{
return false;
}
+ m_Client->SetProtocolVersion(ProtocolVersion);
switch (ProtocolVersion)
{
case PROTO_VERSION_1_7_2: