summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-28 22:04:30 +0200
committerMattes D <github@xoft.cz>2014-09-28 22:04:30 +0200
commit8d55cd409e38d8759b61e89a4b3dea678c1e5f98 (patch)
treeb587e2f8d0b1536e1e4ff0d0bc62c998eccd5141 /src/Protocol/Protocol17x.cpp
parentMerge pull request #1463 from mc-server/sp_docs (diff)
parentCompilation fix (diff)
downloadcuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.gz
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.bz2
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.lz
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.xz
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.zst
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp14
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)