summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemPainting.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Items/ItemPainting.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Items/ItemPainting.h b/src/Items/ItemPainting.h
index 058f8d3b2..40e43f87e 100644
--- a/src/Items/ItemPainting.h
+++ b/src/Items/ItemPainting.h
@@ -10,17 +10,14 @@
-class cItemPaintingHandler:
+class cItemPaintingHandler final:
public cItemHandler
{
using Super = cItemHandler;
public:
- cItemPaintingHandler(int a_ItemType):
- Super(a_ItemType)
- {
- }
+ using Super::Super;
@@ -33,7 +30,7 @@ public:
const cItem & a_HeldItem,
const Vector3i a_ClickedBlockPos,
eBlockFace a_ClickedBlockFace
- ) override
+ ) const override
{
// Paintings can't be flatly placed:
if (