1
0

Fixed wrong packet number for PluginMessage packet.

This commit is contained in:
madmaxoft 2014-01-09 14:24:57 +01:00
parent fe978f0d1e
commit f3bedb3c32

View File

@ -630,7 +630,7 @@ void cProtocol172::SendPlayerSpawn(const cPlayer & a_Player)
void cProtocol172::SendPluginMessage(const AString & a_Channel, const AString & a_Message) void cProtocol172::SendPluginMessage(const AString & a_Channel, const AString & a_Message)
{ {
cPacketizer Pkt(*this, 0x17); cPacketizer Pkt(*this, 0x3f);
Pkt.WriteString(a_Channel); Pkt.WriteString(a_Channel);
Pkt.WriteShort((short)a_Message.size()); Pkt.WriteShort((short)a_Message.size());
Pkt.WriteBuf(a_Message.data(), a_Message.size()); Pkt.WriteBuf(a_Message.data(), a_Message.size());