From 6b0c7956559f895e23367f4f1a2db3ca8a1850ea Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 23 Jan 2017 17:42:52 +0100 Subject: Fixed ClientHandle:GetProtocolVersion returning wrong number. --- src/Protocol/Protocol_1_9.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Protocol/Protocol_1_9.cpp') diff --git a/src/Protocol/Protocol_1_9.cpp b/src/Protocol/Protocol_1_9.cpp index 69b8deb55..1bda4b853 100644 --- a/src/Protocol/Protocol_1_9.cpp +++ b/src/Protocol/Protocol_1_9.cpp @@ -2223,7 +2223,7 @@ void cProtocol_1_9_0::HandlePacketLoginEncryptionResponse(cByteBuffer & a_ByteBu } StartEncryption(DecryptedKey); - m_Client->HandleLogin(4, m_Client->GetUsername()); + m_Client->HandleLogin(m_Client->GetUsername()); } @@ -2260,7 +2260,7 @@ void cProtocol_1_9_0::HandlePacketLoginStart(cByteBuffer & a_ByteBuffer) return; } - m_Client->HandleLogin(4, Username); + m_Client->HandleLogin(Username); } -- cgit v1.2.3