diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-29 14:37:01 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-29 14:37:01 +0200 |
commit | 347402d20d7ecaab3daad691eb178c5a04447d44 (patch) | |
tree | 4a3188eef6087a3029b348cbbe8c93e5d365d158 /src/Protocol/Protocol17x.cpp | |
parent | Fixed SetDefaultRank() return value. (diff) | |
parent | Merge pull request #1479 from SphinxC0re/master (diff) | |
download | cuberite-347402d20d7ecaab3daad691eb178c5a04447d44.tar cuberite-347402d20d7ecaab3daad691eb178c5a04447d44.tar.gz cuberite-347402d20d7ecaab3daad691eb178c5a04447d44.tar.bz2 cuberite-347402d20d7ecaab3daad691eb178c5a04447d44.tar.lz cuberite-347402d20d7ecaab3daad691eb178c5a04447d44.tar.xz cuberite-347402d20d7ecaab3daad691eb178c5a04447d44.tar.zst cuberite-347402d20d7ecaab3daad691eb178c5a04447d44.zip |
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-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) |