summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCrops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockCrops.h')
-rw-r--r--src/Blocks/BlockCrops.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Blocks/BlockCrops.h b/src/Blocks/BlockCrops.h
index b323ace10..6a9a18637 100644
--- a/src/Blocks/BlockCrops.h
+++ b/src/Blocks/BlockCrops.h
@@ -9,18 +9,14 @@
/** Common class that takes care of beetroots, carrots, potatoes and wheat */
-template <NIBBLETYPE RipeMeta>
-class cBlockCropsHandler final :
- public cBlockPlant<true>
+template <NIBBLETYPE RipeMeta> class cBlockCropsHandler final : public cBlockPlant<true>
{
using Super = cBlockPlant<true>;
-public:
-
+ public:
using Super::Super;
-private:
-
+ private:
/** Calculate the number of seeds to drop when the crop is broken. */
static char CalculateSeedCount(char a_Min, char a_BaseRolls, unsigned char a_FortuneLevel)
{