diff options
Diffstat (limited to 'src/Items/ItemMinecart.h')
-rw-r--r-- | src/Items/ItemMinecart.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Items/ItemMinecart.h b/src/Items/ItemMinecart.h index d108c2ca8..444e9e7d4 100644 --- a/src/Items/ItemMinecart.h +++ b/src/Items/ItemMinecart.h @@ -5,17 +5,14 @@ -class cItemMinecartHandler: +class cItemMinecartHandler final: public cItemHandler { using Super = cItemHandler; public: - cItemMinecartHandler(int a_ItemType): - Super(a_ItemType) - { - } + using Super::Super; @@ -28,7 +25,7 @@ public: const cItem & a_HeldItem, const Vector3i a_ClickedBlockPos, eBlockFace a_ClickedBlockFace - ) override + ) const override { // Must be used on a block if (a_ClickedBlockFace < 0) |