summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol18x.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-08 11:35:21 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-08 11:35:21 +0200
commit10a30a03e38116fe084138662bd59147331dd883 (patch)
tree0f992fcb2d4e32a0eebc7fe196388af8b9262cfa /src/Protocol/Protocol18x.cpp
parentImplemented packet compression. (diff)
downloadcuberite-10a30a03e38116fe084138662bd59147331dd883.tar
cuberite-10a30a03e38116fe084138662bd59147331dd883.tar.gz
cuberite-10a30a03e38116fe084138662bd59147331dd883.tar.bz2
cuberite-10a30a03e38116fe084138662bd59147331dd883.tar.lz
cuberite-10a30a03e38116fe084138662bd59147331dd883.tar.xz
cuberite-10a30a03e38116fe084138662bd59147331dd883.tar.zst
cuberite-10a30a03e38116fe084138662bd59147331dd883.zip
Diffstat (limited to 'src/Protocol/Protocol18x.cpp')
-rw-r--r--src/Protocol/Protocol18x.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Protocol/Protocol18x.cpp b/src/Protocol/Protocol18x.cpp
index bcb5c2036..302fcc836 100644
--- a/src/Protocol/Protocol18x.cpp
+++ b/src/Protocol/Protocol18x.cpp
@@ -12,8 +12,8 @@ Implements the 1.8.x protocol classes:
#include "Bindings/PluginManager.h"
#include "json/json.h"
#include "ChunkDataSerializer.h"
+#include "ProtocolRecognizer.h"
#include "Protocol18x.h"
-#include "zlib/zlib.h"
#include "../ClientHandle.h"
#include "../CompositeChat.h"
@@ -52,6 +52,7 @@ class cProtocol176;
cProtocol180::cProtocol180(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State) :
super(a_Client, a_ServerAddress, a_ServerPort, a_State)
{
+ m_ProtocolVersion = cProtocolRecognizer::PROTO_VERSION_1_8_0;
}