summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemStairs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Items/ItemStairs.h')
-rw-r--r--src/Items/ItemStairs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Items/ItemStairs.h b/src/Items/ItemStairs.h
index 6fe447be5..8a937ae56 100644
--- a/src/Items/ItemStairs.h
+++ b/src/Items/ItemStairs.h
@@ -8,7 +8,7 @@
-class cItemStairsHandler :
+class cItemStairsHandler final :
public cItemHandler
{
using Super = cItemHandler;
@@ -19,7 +19,7 @@ public:
private:
- virtual bool CommitPlacement(cPlayer & a_Player, const cItem & a_HeldItem, const Vector3i a_PlacePosition, const eBlockFace a_ClickedBlockFace, const Vector3i a_CursorPosition) override
+ virtual bool CommitPlacement(cPlayer & a_Player, const cItem & a_HeldItem, const Vector3i a_PlacePosition, const eBlockFace a_ClickedBlockFace, const Vector3i a_CursorPosition) const override
{
NIBBLETYPE Meta = cBlockStairsHandler::YawToMetaData(a_Player.GetYaw());