summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-09 14:24:57 +0100
committermadmaxoft <github@xoft.cz>2014-01-09 14:24:57 +0100
commitf3bedb3c32dc39424712f5f98de7c9eab2fc56d1 (patch)
tree525d3f3a48ff6cd3a5a0912f743d7965d3d5467c /src/Protocol/Protocol17x.cpp
parentAdded cClientHandle::SendPluginMessage(). (diff)
downloadcuberite-f3bedb3c32dc39424712f5f98de7c9eab2fc56d1.tar
cuberite-f3bedb3c32dc39424712f5f98de7c9eab2fc56d1.tar.gz
cuberite-f3bedb3c32dc39424712f5f98de7c9eab2fc56d1.tar.bz2
cuberite-f3bedb3c32dc39424712f5f98de7c9eab2fc56d1.tar.lz
cuberite-f3bedb3c32dc39424712f5f98de7c9eab2fc56d1.tar.xz
cuberite-f3bedb3c32dc39424712f5f98de7c9eab2fc56d1.tar.zst
cuberite-f3bedb3c32dc39424712f5f98de7c9eab2fc56d1.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index c64aa0881..9c46c6843 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -630,7 +630,7 @@ void cProtocol172::SendPlayerSpawn(const cPlayer & a_Player)
void cProtocol172::SendPluginMessage(const AString & a_Channel, const AString & a_Message)
{
- cPacketizer Pkt(*this, 0x17);
+ cPacketizer Pkt(*this, 0x3f);
Pkt.WriteString(a_Channel);
Pkt.WriteShort((short)a_Message.size());
Pkt.WriteBuf(a_Message.data(), a_Message.size());