summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCobWeb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockCobWeb.h')
-rw-r--r--src/Blocks/BlockCobWeb.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/Blocks/BlockCobWeb.h b/src/Blocks/BlockCobWeb.h
index 60ccbf53a..567b8c2e5 100644
--- a/src/Blocks/BlockCobWeb.h
+++ b/src/Blocks/BlockCobWeb.h
@@ -9,15 +9,12 @@
-class cBlockCobWebHandler final :
- public cBlockHandler
+class cBlockCobWebHandler final : public cBlockHandler
{
-public:
-
+ public:
using cBlockHandler::cBlockHandler;
-private:
-
+ private:
virtual cItems ConvertToPickups(const NIBBLETYPE a_BlockMeta, const cItem * const a_Tool) const override
{
// Silk touch gives cobweb, anything else gives just string:
@@ -40,8 +37,4 @@ private:
UNUSED(a_Meta);
return 3;
}
-} ;
-
-
-
-
+};