diff options
Diffstat (limited to 'src/Items/ItemItemFrame.h')
-rw-r--r-- | src/Items/ItemItemFrame.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/Items/ItemItemFrame.h b/src/Items/ItemItemFrame.h index 70923c549..c7496ef3c 100644 --- a/src/Items/ItemItemFrame.h +++ b/src/Items/ItemItemFrame.h @@ -9,13 +9,11 @@ -class cItemItemFrameHandler final: - public cItemHandler +class cItemItemFrameHandler final : public cItemHandler { using Super = cItemHandler; -public: - + public: using Super::Super; @@ -32,7 +30,8 @@ public: ) const override { // Can only place on a side face: - if ((a_ClickedBlockFace == BLOCK_FACE_NONE) || (a_ClickedBlockFace == BLOCK_FACE_YP) || (a_ClickedBlockFace == BLOCK_FACE_YM)) + if ((a_ClickedBlockFace == BLOCK_FACE_NONE) || (a_ClickedBlockFace == BLOCK_FACE_YP) || + (a_ClickedBlockFace == BLOCK_FACE_YM)) { return false; } @@ -67,7 +66,3 @@ public: return true; } }; - - - - |