diff options
author | madmaxoft <github@xoft.cz> | 2014-01-06 22:22:33 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-01-06 22:22:33 +0100 |
commit | 9c8af58b7546448e9168ca6d70b5ba9a7f4330d7 (patch) | |
tree | 6c387a2d177f6ee3a22038ba760f6a4e4390332b /src/Protocol/Protocol132.cpp | |
parent | Merge pull request #511 from mc-server/CmakeOutput (diff) | |
download | cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar.gz cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar.bz2 cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar.lz cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar.xz cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar.zst cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol132.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol132.cpp b/src/Protocol/Protocol132.cpp index ab15509b7..302d1298c 100644 --- a/src/Protocol/Protocol132.cpp +++ b/src/Protocol/Protocol132.cpp @@ -877,7 +877,7 @@ void cProtocol132::SendCompass(const cWorld & a_World) void cProtocol132::SendEncryptionKeyRequest(void) { cCSLock Lock(m_CSPacket); - WriteByte((char)0xfd); + WriteByte(0xfd); WriteString(cRoot::Get()->GetServer()->GetServerID()); WriteShort((short)m_ServerPublicKey.size()); SendData(m_ServerPublicKey.data(), m_ServerPublicKey.size()); @@ -925,7 +925,7 @@ void cProtocol132::HandleEncryptionKeyResponse(const AString & a_EncKey, const A { // Send encryption key response: cCSLock Lock(m_CSPacket); - WriteByte((char)0xfc); + WriteByte(0xfc); WriteShort(0); WriteShort(0); Flush(); |