From 07ffd9f6f3d6b0748b48ca37a550bf2a3c033c91 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 29 Aug 2020 16:47:40 +0100 Subject: Unused/duplicate function cleanup * FaceIntToBlockFace in 1.8/1.9 protocol merged - Removed undefined permissions stuff in Player header --- src/Protocol/Protocol_1_9.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/Protocol/Protocol_1_9.h') diff --git a/src/Protocol/Protocol_1_9.h b/src/Protocol/Protocol_1_9.h index e936710d7..5e444c4e1 100644 --- a/src/Protocol/Protocol_1_9.h +++ b/src/Protocol/Protocol_1_9.h @@ -97,10 +97,6 @@ protected: /** Parses item metadata as read by ReadItem(), into the item enchantments. */ virtual void ParseItemMetadata(cItem & a_Item, const AString & a_Metadata) override; - /** Converts the BlockFace received by the protocol into eBlockFace constants. - If the received value doesn't match any of our eBlockFace constants, BLOCK_FACE_NONE is returned. */ - eBlockFace FaceIntToBlockFace(Int32 a_FaceInt); - /** 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); -- cgit v1.2.3