summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockMelon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockMelon.h')
-rw-r--r--src/Blocks/BlockMelon.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/Blocks/BlockMelon.h b/src/Blocks/BlockMelon.h
index 9fa68fc1e..a9a7cb58f 100644
--- a/src/Blocks/BlockMelon.h
+++ b/src/Blocks/BlockMelon.h
@@ -7,17 +7,14 @@
-class cBlockMelonHandler final :
- public cBlockHandler
+class cBlockMelonHandler 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
{
const auto DropNum = FortuneDiscreteRandom(3, 7, ToolFortuneLevel(a_Tool), 9);
@@ -33,8 +30,4 @@ private:
UNUSED(a_Meta);
return 19;
}
-} ;
-
-
-
-
+};