summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.h
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-10-04 00:23:28 +0200
committertycho <work.tycho@gmail.com>2015-12-18 19:14:34 +0100
commit84bf48afaecf941005c89c3e0465bc6308634664 (patch)
tree8c485eb17e8e34e3ffe551ba3e891498b962455e /src/Protocol/Protocol17x.h
parentBroken (diff)
downloadcuberite-84bf48afaecf941005c89c3e0465bc6308634664.tar
cuberite-84bf48afaecf941005c89c3e0465bc6308634664.tar.gz
cuberite-84bf48afaecf941005c89c3e0465bc6308634664.tar.bz2
cuberite-84bf48afaecf941005c89c3e0465bc6308634664.tar.lz
cuberite-84bf48afaecf941005c89c3e0465bc6308634664.tar.xz
cuberite-84bf48afaecf941005c89c3e0465bc6308634664.tar.zst
cuberite-84bf48afaecf941005c89c3e0465bc6308634664.zip
Diffstat (limited to 'src/Protocol/Protocol17x.h')
-rw-r--r--src/Protocol/Protocol17x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.h b/src/Protocol/Protocol17x.h
index e7ecc1650..8e85880b3 100644
--- a/src/Protocol/Protocol17x.h
+++ b/src/Protocol/Protocol17x.h
@@ -208,7 +208,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);
+ virtual cProtocolError ReadItem(cByteBuffer & a_ByteBuffer, cItem & a_Item);
/** Parses item metadata as read by ReadItem(), into the item enchantments. */
void ParseItemMetadata(cItem & a_Item, const AString & a_Metadata);