summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol125.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/Protocol125.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 '')
-rw-r--r--src/Protocol/Protocol125.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Protocol/Protocol125.cpp b/src/Protocol/Protocol125.cpp
index a74be28a5..77939d933 100644
--- a/src/Protocol/Protocol125.cpp
+++ b/src/Protocol/Protocol125.cpp
@@ -16,6 +16,7 @@ Documentation:
#include "../ClientHandle.h"
#include "../World.h"
#include "ChunkDataSerializer.h"
+#include "ProtocolRecognizer.h"
#include "../Entities/Entity.h"
#include "../Entities/ExpOrb.h"
#include "../Mobs/Monster.h"
@@ -132,7 +133,7 @@ typedef unsigned char Byte;
cProtocol125::cProtocol125(cClientHandle * a_Client) :
- super(a_Client),
+ super(a_Client, cProtocolRecognizer::PROTO_VERSION_1_2_5),
m_ReceivedData(32 KiB),
m_LastSentDimension(dimNotSet)
{