diff options
Diffstat (limited to 'src/Items/ItemFurnace.h')
-rw-r--r-- | src/Items/ItemFurnace.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/Items/ItemFurnace.h b/src/Items/ItemFurnace.h index 48f725f4f..54c91136f 100644 --- a/src/Items/ItemFurnace.h +++ b/src/Items/ItemFurnace.h @@ -8,19 +8,23 @@ -class cItemFurnaceHandler final : - public cItemHandler +class cItemFurnaceHandler final : public cItemHandler { using Super = cItemHandler; -public: - + public: using Super::Super; -private: - - virtual bool CommitPlacement(cPlayer & a_Player, const cItem & a_HeldItem, const Vector3i a_PlacePosition, const eBlockFace a_ClickedBlockFace, const Vector3i a_CursorPosition) const override + private: + virtual bool CommitPlacement( + cPlayer & a_Player, + const cItem & a_HeldItem, + const Vector3i a_PlacePosition, + const eBlockFace a_ClickedBlockFace, + const Vector3i a_CursorPosition + ) const override { - return a_Player.PlaceBlock(a_PlacePosition, E_BLOCK_FURNACE, cBlockFurnaceHandler::YawToMetaData(a_Player.GetYaw())); + return a_Player + .PlaceBlock(a_PlacePosition, E_BLOCK_FURNACE, cBlockFurnaceHandler::YawToMetaData(a_Player.GetYaw())); } }; |