1
0

Merge pull request #1466 from mc-server/endofsupport

Removed protocols 1.2 to 1.6
This commit is contained in:
Mattes D
2014-09-28 22:04:30 +02:00
27 changed files with 24 additions and 4757 deletions

View File

@@ -2508,20 +2508,6 @@ void cProtocol180::HandlePacketWindowClose(cByteBuffer & a_ByteBuffer)
void cProtocol180::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 cProtocol180::SendData(const char * a_Data, size_t a_Size)
{
if (m_IsEncrypted)