summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_9.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-29 17:47:40 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-29 17:47:40 +0200
commit07ffd9f6f3d6b0748b48ca37a550bf2a3c033c91 (patch)
tree52ff8fd64f48ad25d2aff8e0cd75caa8a0df649e /src/Protocol/Protocol_1_9.cpp
parentRemove redundant DoWithChunkAt in chests (diff)
downloadcuberite-07ffd9f6f3d6b0748b48ca37a550bf2a3c033c91.tar
cuberite-07ffd9f6f3d6b0748b48ca37a550bf2a3c033c91.tar.gz
cuberite-07ffd9f6f3d6b0748b48ca37a550bf2a3c033c91.tar.bz2
cuberite-07ffd9f6f3d6b0748b48ca37a550bf2a3c033c91.tar.lz
cuberite-07ffd9f6f3d6b0748b48ca37a550bf2a3c033c91.tar.xz
cuberite-07ffd9f6f3d6b0748b48ca37a550bf2a3c033c91.tar.zst
cuberite-07ffd9f6f3d6b0748b48ca37a550bf2a3c033c91.zip
Diffstat (limited to 'src/Protocol/Protocol_1_9.cpp')
-rw-r--r--src/Protocol/Protocol_1_9.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/Protocol/Protocol_1_9.cpp b/src/Protocol/Protocol_1_9.cpp
index 3d34eeabe..b4fc47d0f 100644
--- a/src/Protocol/Protocol_1_9.cpp
+++ b/src/Protocol/Protocol_1_9.cpp
@@ -1233,26 +1233,6 @@ void cProtocol_1_9_0::ParseItemMetadata(cItem & a_Item, const AString & a_Metada
-eBlockFace cProtocol_1_9_0::FaceIntToBlockFace(Int32 a_BlockFace)
-{
- // Normalize the blockface values returned from the protocol
- // Anything known gets mapped 1:1, everything else returns BLOCK_FACE_NONE
- switch (a_BlockFace)
- {
- case BLOCK_FACE_XM: return BLOCK_FACE_XM;
- case BLOCK_FACE_XP: return BLOCK_FACE_XP;
- case BLOCK_FACE_YM: return BLOCK_FACE_YM;
- case BLOCK_FACE_YP: return BLOCK_FACE_YP;
- case BLOCK_FACE_ZM: return BLOCK_FACE_ZM;
- case BLOCK_FACE_ZP: return BLOCK_FACE_ZP;
- default: return BLOCK_FACE_NONE;
- }
-}
-
-
-
-
-
eHand cProtocol_1_9_0::HandIntToEnum(Int32 a_Hand)
{
// Convert hand parameter into eHand enum