Fixed wrong packet number for PluginMessage packet.
This commit is contained in:
parent
fe978f0d1e
commit
f3bedb3c32
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user