diff options
Diffstat (limited to 'src/Blocks/BlockMobHead.h')
-rw-r--r-- | src/Blocks/BlockMobHead.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/Blocks/BlockMobHead.h b/src/Blocks/BlockMobHead.h index 2fc8b177d..71fb6c958 100644 --- a/src/Blocks/BlockMobHead.h +++ b/src/Blocks/BlockMobHead.h @@ -14,16 +14,12 @@ class cBlockMobHeadHandler : using Super = cBlockEntityHandler; public: - cBlockMobHeadHandler(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 { if ((a_BlockEntity == nullptr) || (a_BlockEntity->GetBlockType() != E_BLOCK_HEAD)) { @@ -37,7 +33,7 @@ public: - virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override + virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override { UNUSED(a_Meta); return 0; |