summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockStone.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockStone.h')
-rw-r--r--src/Blocks/BlockStone.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/Blocks/BlockStone.h b/src/Blocks/BlockStone.h
index 75af272b7..9b753b5e2 100644
--- a/src/Blocks/BlockStone.h
+++ b/src/Blocks/BlockStone.h
@@ -6,24 +6,18 @@
-class cBlockStoneHandler final :
- public cBlockHandler
+class cBlockStoneHandler 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
{
// Convert stone to cobblestone, unless using silk-touch:
- if (
- (a_BlockMeta == E_META_STONE_STONE) &&
- !ToolHasSilkTouch(a_Tool)
- )
+ if ((a_BlockMeta == E_META_STONE_STONE) && !ToolHasSilkTouch(a_Tool))
{
return cItem(E_BLOCK_COBBLESTONE, 1, 0);
}
@@ -40,7 +34,3 @@ private:
return 11;
}
};
-
-
-
-