summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_9.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-09-11 20:42:22 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-09-18 17:41:06 +0200
commitacc399ffb3a8a542b0bb99d056de045f7e7d26e0 (patch)
tree711c11765121f5c96699c5cb4864e3d8c9787c28 /src/Protocol/Protocol_1_9.h
parentAdding Generator For Single Piece Structures (#4830) (diff)
downloadcuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar
cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar.gz
cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar.bz2
cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar.lz
cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar.xz
cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar.zst
cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.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 5e444c4e1..84da2d686 100644
--- a/src/Protocol/Protocol_1_9.h
+++ b/src/Protocol/Protocol_1_9.h
@@ -99,7 +99,7 @@ protected:
/** Converts the hand parameter received by the protocol into eHand constants.
If the received value doesn't match any of the know value, raise an assertion fail or return hMain. */
- eHand HandIntToEnum(Int32 a_Hand);
+ static eHand HandIntToEnum(Int32 a_Hand);
/** Sends the entity type and entity-dependent data required for the entity to initially spawn. */
virtual void SendEntitySpawn(const cEntity & a_Entity, const UInt8 a_ObjectType, const Int32 a_ObjectData) override;