summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_9.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2018-08-01 01:21:44 +0200
committerMattes D <github@xoft.cz>2019-09-16 15:37:54 +0200
commit77731f80fb89182e8697d9daad6c8400e480fb6d (patch)
treec4b7131f8a51e74d1f6c5e7e7f6b1602e39e80c8 /src/Protocol/Protocol_1_9.h
parentGCC: Added pragma to ignore fallthrough warnings within Unicode Inc. code (#4392) (diff)
downloadcuberite-77731f80fb89182e8697d9daad6c8400e480fb6d.tar
cuberite-77731f80fb89182e8697d9daad6c8400e480fb6d.tar.gz
cuberite-77731f80fb89182e8697d9daad6c8400e480fb6d.tar.bz2
cuberite-77731f80fb89182e8697d9daad6c8400e480fb6d.tar.lz
cuberite-77731f80fb89182e8697d9daad6c8400e480fb6d.tar.xz
cuberite-77731f80fb89182e8697d9daad6c8400e480fb6d.tar.zst
cuberite-77731f80fb89182e8697d9daad6c8400e480fb6d.zip
Diffstat (limited to 'src/Protocol/Protocol_1_9.h')
-rw-r--r--src/Protocol/Protocol_1_9.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol_1_9.h b/src/Protocol/Protocol_1_9.h
index 99d65c77a..681035d80 100644
--- a/src/Protocol/Protocol_1_9.h
+++ b/src/Protocol/Protocol_1_9.h
@@ -248,7 +248,7 @@ protected:
eHand HandIntToEnum(Int32 a_Hand);
/** Writes the item data into a packet. */
- void WriteItem(cPacketizer & a_Pkt, const cItem & a_Item);
+ virtual void WriteItem(cPacketizer & a_Pkt, const cItem & a_Item);
/** Writes the metadata for the specified entity, not including the terminating 0xff. */
virtual void WriteEntityMetadata(cPacketizer & a_Pkt, const cEntity & a_Entity);