summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol18x.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-22 22:06:08 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-22 22:06:08 +0200
commitfc11818f4c9eaeb9eb1acab4fcc3c6776e6c2d00 (patch)
treef9e6ff0ef3ad3676e8c953d1147144ea585313e4 /src/Protocol/Protocol18x.h
parentQtBiomeVisualiser: Implemented live-update for the generator setup. (diff)
downloadcuberite-fc11818f4c9eaeb9eb1acab4fcc3c6776e6c2d00.tar
cuberite-fc11818f4c9eaeb9eb1acab4fcc3c6776e6c2d00.tar.gz
cuberite-fc11818f4c9eaeb9eb1acab4fcc3c6776e6c2d00.tar.bz2
cuberite-fc11818f4c9eaeb9eb1acab4fcc3c6776e6c2d00.tar.lz
cuberite-fc11818f4c9eaeb9eb1acab4fcc3c6776e6c2d00.tar.xz
cuberite-fc11818f4c9eaeb9eb1acab4fcc3c6776e6c2d00.tar.zst
cuberite-fc11818f4c9eaeb9eb1acab4fcc3c6776e6c2d00.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol18x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol18x.h b/src/Protocol/Protocol18x.h
index 59a5dd0b6..eb0253663 100644
--- a/src/Protocol/Protocol18x.h
+++ b/src/Protocol/Protocol18x.h
@@ -322,7 +322,7 @@ protected:
void SendCompass(const cWorld & a_World);
/** Reads an item out of the received data, sets a_Item to the values read. Returns false if not enough received data */
- virtual bool ReadItem(cByteBuffer & a_ByteBuffer, cItem & a_Item, size_t a_MetadataSize = 1);
+ virtual bool ReadItem(cByteBuffer & a_ByteBuffer, cItem & a_Item, size_t a_RemainingBytes = 0);
/** Parses item metadata as read by ReadItem(), into the item enchantments. */
void ParseItemMetadata(cItem & a_Item, const AString & a_Metadata);