summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-11 22:27:35 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-11 22:27:35 +0200
commit6d5a5eb665d8f13dd3e4e7c279967556b0f9fa91 (patch)
tree841aabad78605c4bc7d5792d182df273df403751 /src/Protocol/Protocol17x.cpp
parent1.8: Fixed sign placing. (diff)
downloadcuberite-6d5a5eb665d8f13dd3e4e7c279967556b0f9fa91.tar
cuberite-6d5a5eb665d8f13dd3e4e7c279967556b0f9fa91.tar.gz
cuberite-6d5a5eb665d8f13dd3e4e7c279967556b0f9fa91.tar.bz2
cuberite-6d5a5eb665d8f13dd3e4e7c279967556b0f9fa91.tar.lz
cuberite-6d5a5eb665d8f13dd3e4e7c279967556b0f9fa91.tar.xz
cuberite-6d5a5eb665d8f13dd3e4e7c279967556b0f9fa91.tar.zst
cuberite-6d5a5eb665d8f13dd3e4e7c279967556b0f9fa91.zip
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-rw-r--r--src/Protocol/Protocol17x.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 2b0c8baf8..b3c78a8ba 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -12,7 +12,6 @@ Implements the 1.7.x protocol classes:
#include "Globals.h"
#include "json/json.h"
#include "Protocol17x.h"
-#include "ProtocolRecognizer.h"
#include "ChunkDataSerializer.h"
#include "PolarSSL++/Sha1Checksum.h"
@@ -93,7 +92,7 @@ extern bool g_ShouldLogCommIn, g_ShouldLogCommOut;
// cProtocol172:
cProtocol172::cProtocol172(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State) :
- super(a_Client, cProtocolRecognizer::PROTO_VERSION_1_7_2),
+ super(a_Client),
m_ServerAddress(a_ServerAddress),
m_ServerPort(a_ServerPort),
m_State(a_State),
@@ -3064,7 +3063,6 @@ void cProtocol172::cPacketizer::WriteEntityProperties(const cEntity & a_Entity)
cProtocol176::cProtocol176(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_7_6;
}