From cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sat, 2 Nov 2024 21:27:47 +0000 Subject: Apply new clang-formatting --- src/Items/ItemItemFrame.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/Items/ItemItemFrame.h') 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; } }; - - - - -- cgit v1.2.3