summaryrefslogtreecommitdiffstats
path: root/src/Protocol
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-01-23 17:42:52 +0100
committerMattes D <github@xoft.cz>2017-01-28 10:31:04 +0100
commit6b0c7956559f895e23367f4f1a2db3ca8a1850ea (patch)
treeb11a5d9766f50ea70477d9bae3f68ceb8e09d074 /src/Protocol
parentMerge pull request #3564 from cuberite/luacheck (diff)
downloadcuberite-6b0c7956559f895e23367f4f1a2db3ca8a1850ea.tar
cuberite-6b0c7956559f895e23367f4f1a2db3ca8a1850ea.tar.gz
cuberite-6b0c7956559f895e23367f4f1a2db3ca8a1850ea.tar.bz2
cuberite-6b0c7956559f895e23367f4f1a2db3ca8a1850ea.tar.lz
cuberite-6b0c7956559f895e23367f4f1a2db3ca8a1850ea.tar.xz
cuberite-6b0c7956559f895e23367f4f1a2db3ca8a1850ea.tar.zst
cuberite-6b0c7956559f895e23367f4f1a2db3ca8a1850ea.zip
Diffstat (limited to 'src/Protocol')
-rw-r--r--src/Protocol/Protocol_1_8.cpp4
-rw-r--r--src/Protocol/Protocol_1_9.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Protocol/Protocol_1_8.cpp b/src/Protocol/Protocol_1_8.cpp
index 2e7902303..07366210e 100644
--- a/src/Protocol/Protocol_1_8.cpp
+++ b/src/Protocol/Protocol_1_8.cpp
@@ -2201,7 +2201,7 @@ void cProtocol_1_8_0::HandlePacketLoginEncryptionResponse(cByteBuffer & a_ByteBu
}
StartEncryption(DecryptedKey);
- m_Client->HandleLogin(4, m_Client->GetUsername());
+ m_Client->HandleLogin(m_Client->GetUsername());
}
@@ -2238,7 +2238,7 @@ void cProtocol_1_8_0::HandlePacketLoginStart(cByteBuffer & a_ByteBuffer)
return;
}
- m_Client->HandleLogin(4, Username);
+ m_Client->HandleLogin(Username);
}
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);
}