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.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/Blocks/BlockStone.h b/src/Blocks/BlockStone.h
index 9da61c263..910473623 100644
--- a/src/Blocks/BlockStone.h
+++ b/src/Blocks/BlockStone.h
@@ -13,16 +13,11 @@ class cBlockStoneHandler:
public:
- cBlockStoneHandler(BLOCKTYPE a_BlockType):
- Super(a_BlockType)
- {
- }
-
-
-
+ using Super::Super;
+private:
- virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, cBlockEntity * a_BlockEntity, const cEntity * a_Digger, const cItem * a_Tool) override
+ virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, cBlockEntity * a_BlockEntity, const cEntity * a_Digger, const cItem * a_Tool) const override
{
// Convert stone to cobblestone, unless using silk-touch:
if (
@@ -39,7 +34,7 @@ public:
- virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override
+ virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override
{
UNUSED(a_Meta);
return 11;