diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-27 15:28:14 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-27 15:28:14 +0200 |
commit | 72c087cfd335b015139cb73ae78f74105d855cf0 (patch) | |
tree | ec700e5083a60e03ad8374e12f4528de8c92491e /src/Protocol/Protocol17x.cpp | |
parent | Merge pull request #1456 from Howaner/Fixes (diff) | |
download | cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar.gz cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar.bz2 cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar.lz cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar.xz cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar.zst cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index ac58ef28b..e4c33908a 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -2217,20 +2217,6 @@ void cProtocol172::HandlePacketWindowClose(cByteBuffer & a_ByteBuffer) -void cProtocol172::WritePacket(cByteBuffer & a_Packet) -{ - cCSLock Lock(m_CSPacket); - AString Pkt; - a_Packet.ReadAll(Pkt); - WriteVarInt((UInt32)Pkt.size()); - SendData(Pkt.data(), Pkt.size()); - Flush(); -} - - - - - void cProtocol172::SendData(const char * a_Data, size_t a_Size) { if (m_IsEncrypted) |