summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockSeaLantern.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockSeaLantern.h')
-rw-r--r--src/Blocks/BlockSeaLantern.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/Blocks/BlockSeaLantern.h b/src/Blocks/BlockSeaLantern.h
index 6dbaeda34..06b4fee14 100644
--- a/src/Blocks/BlockSeaLantern.h
+++ b/src/Blocks/BlockSeaLantern.h
@@ -7,17 +7,14 @@
-class cBlockSeaLanternHandler final :
- public cBlockHandler
+class cBlockSeaLanternHandler final : public cBlockHandler
{
using Super = cBlockHandler;
-public:
-
+ public:
using Super::Super;
-private:
-
+ private:
virtual cItems ConvertToPickups(const NIBBLETYPE a_BlockMeta, const cItem * const a_Tool) const override
{
// Drop self only when using silk-touch:
@@ -30,4 +27,4 @@ private:
const auto DropNum = FortuneDiscreteRandom(2, 3, ToolFortuneLevel(a_Tool), 5);
return cItem(E_ITEM_PRISMARINE_CRYSTALS, DropNum);
}
-} ;
+};