summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemTripwireHook.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Items/ItemTripwireHook.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Items/ItemTripwireHook.h b/src/Items/ItemTripwireHook.h
index 005bd5676..b30f3c85c 100644
--- a/src/Items/ItemTripwireHook.h
+++ b/src/Items/ItemTripwireHook.h
@@ -7,7 +7,7 @@
-class cItemTripwireHookHandler :
+class cItemTripwireHookHandler final :
public cItemHandler
{
using Super = cItemHandler;
@@ -31,7 +31,7 @@ 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
{
if ((a_ClickedBlockFace == BLOCK_FACE_YP) || (a_ClickedBlockFace == BLOCK_FACE_YM))
{