summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-14 18:53:56 +0200
committermadmaxoft <github@xoft.cz>2014-04-14 18:53:56 +0200
commitffe65b6a184224d4684f08bcbba01d1ce92d7236 (patch)
tree7cc93ae32afcafa6f4c6cc5f630ec1b50dc6f0b0 /src/Protocol/Protocol17x.cpp
parentInitial 1.7.6 protocol support. (diff)
parentFixed mistake (diff)
downloadcuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar
cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.gz
cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.bz2
cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.lz
cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.xz
cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.zst
cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.zip
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-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 57cc9118f..278b29485 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());
}