summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authordaniel0916 <theschokolps@gmail.com>2014-04-13 17:09:18 +0200
committerdaniel0916 <theschokolps@gmail.com>2014-04-13 17:09:18 +0200
commit2618569e0100fdfdbf07f98da8f3e0f83e82b822 (patch)
tree7398230ffa6db5e585e9ee2d8f26b456292f4d8b /src/Protocol/Protocol17x.cpp
parentFixed Error? (diff)
downloadcuberite-2618569e0100fdfdbf07f98da8f3e0f83e82b822.tar
cuberite-2618569e0100fdfdbf07f98da8f3e0f83e82b822.tar.gz
cuberite-2618569e0100fdfdbf07f98da8f3e0f83e82b822.tar.bz2
cuberite-2618569e0100fdfdbf07f98da8f3e0f83e82b822.tar.lz
cuberite-2618569e0100fdfdbf07f98da8f3e0f83e82b822.tar.xz
cuberite-2618569e0100fdfdbf07f98da8f3e0f83e82b822.tar.zst
cuberite-2618569e0100fdfdbf07f98da8f3e0f83e82b822.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index a4319df37..6c1af61fa 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -1559,7 +1559,7 @@ void cProtocol172::HandlePacketLoginEncryptionResponse(cByteBuffer & a_ByteBuffe
// Send login success:
{
cPacketizer Pkt(*this, 0x02); // Login success packet
- Pkt.WriteString(Printf("%d", m_Client->GetUniqueID())); // TODO: proper UUID
+ Pkt.WriteString(m_Client->GetUUID());
Pkt.WriteString(m_Client->GetUsername());
}