summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_8.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-11-23 18:16:25 +0100
committerGitHub <noreply@github.com>2021-11-23 18:16:25 +0100
commit7c7890c658616222c6aba6dde365f757f75005d6 (patch)
treee76a422bdabaa26a3ac8448042a21653f4a545ae /src/Protocol/Protocol_1_8.h
parentDump the api as well as checking it. (diff)
downloadcuberite-7c7890c658616222c6aba6dde365f757f75005d6.tar
cuberite-7c7890c658616222c6aba6dde365f757f75005d6.tar.gz
cuberite-7c7890c658616222c6aba6dde365f757f75005d6.tar.bz2
cuberite-7c7890c658616222c6aba6dde365f757f75005d6.tar.lz
cuberite-7c7890c658616222c6aba6dde365f757f75005d6.tar.xz
cuberite-7c7890c658616222c6aba6dde365f757f75005d6.tar.zst
cuberite-7c7890c658616222c6aba6dde365f757f75005d6.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol_1_8.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol_1_8.h b/src/Protocol/Protocol_1_8.h
index 704725bee..7365cd2db 100644
--- a/src/Protocol/Protocol_1_8.h
+++ b/src/Protocol/Protocol_1_8.h
@@ -201,8 +201,8 @@ protected:
virtual void HandlePacketWindowClose (cByteBuffer & a_ByteBuffer);
/** Parses Vanilla plugin messages into specific ClientHandle calls.
- The message payload is still in the bytebuffer, the handler reads it specifically for each handled channel */
- virtual void HandleVanillaPluginMessage(cByteBuffer & a_ByteBuffer, const AString & a_Channel);
+ The message payload is still in the bytebuffer, the handler reads it specifically for each handled channel. */
+ virtual void HandleVanillaPluginMessage(cByteBuffer & a_ByteBuffer, std::string_view a_Channel);
/** Parses item metadata as read by ReadItem(), into the item enchantments. */
virtual void ParseItemMetadata(cItem & a_Item, ContiguousByteBufferView a_Metadata) const;