diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-18 23:07:30 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-18 23:07:30 +0100 |
commit | 08229956ff07c9d6e863fd475f457aea217415ea (patch) | |
tree | b1ce46d619a88a50d60ed4f4de82d5b645847bdb /src | |
parent | De-breaked stuff (diff) | |
parent | Fixed possible ASSERT failure (diff) | |
download | cuberite-08229956ff07c9d6e863fd475f457aea217415ea.tar cuberite-08229956ff07c9d6e863fd475f457aea217415ea.tar.gz cuberite-08229956ff07c9d6e863fd475f457aea217415ea.tar.bz2 cuberite-08229956ff07c9d6e863fd475f457aea217415ea.tar.lz cuberite-08229956ff07c9d6e863fd475f457aea217415ea.tar.xz cuberite-08229956ff07c9d6e863fd475f457aea217415ea.tar.zst cuberite-08229956ff07c9d6e863fd475f457aea217415ea.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemItemFrame.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemItemFrame.h b/src/Items/ItemItemFrame.h index 4875e09dc..74e987445 100644 --- a/src/Items/ItemItemFrame.h +++ b/src/Items/ItemItemFrame.h @@ -21,7 +21,7 @@ public: virtual bool OnItemUse(cWorld *a_World, cPlayer *a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Dir) override { - if (a_Dir == BLOCK_FACE_NONE) + if ((a_Dir == BLOCK_FACE_NONE) || (a_Dir == BLOCK_FACE_YP) || (a_Dir == BLOCK_FACE_YM)) { // Client sends this if clicked on top or bottom face return false; |