summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemEmptyMap.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Items/ItemEmptyMap.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Items/ItemEmptyMap.h b/src/Items/ItemEmptyMap.h
index ac5053107..d06102fab 100644
--- a/src/Items/ItemEmptyMap.h
+++ b/src/Items/ItemEmptyMap.h
@@ -7,7 +7,7 @@
-class cItemEmptyMapHandler:
+class cItemEmptyMapHandler final:
public cItemHandler
{
using Super = cItemHandler;
@@ -16,10 +16,7 @@ class cItemEmptyMapHandler:
public:
- cItemEmptyMapHandler():
- Super(E_ITEM_EMPTY_MAP)
- {
- }
+ using Super::Super;
@@ -32,7 +29,7 @@ public:
const cItem & a_HeldItem,
const Vector3i a_ClickedBlockPos,
eBlockFace a_ClickedBlockFace
- ) override
+ ) const override
{
UNUSED(a_HeldItem);
UNUSED(a_ClickedBlockFace);