summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockMushroom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockMushroom.h')
-rw-r--r--src/Blocks/BlockMushroom.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/Blocks/BlockMushroom.h b/src/Blocks/BlockMushroom.h
index e40031465..c025f3ad5 100644
--- a/src/Blocks/BlockMushroom.h
+++ b/src/Blocks/BlockMushroom.h
@@ -15,22 +15,13 @@ class cBlockMushroomHandler:
public:
- cBlockMushroomHandler(BLOCKTYPE a_BlockType):
- Super(a_BlockType)
- {
- }
-
-
-
+ using Super::Super;
+private:
// TODO: Add Mushroom Spread
-
-
-
-
- virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, const Vector3i a_RelPos, const cChunk & a_Chunk) override
+ virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, const Vector3i a_RelPos, const cChunk & a_Chunk) const override
{
if (a_RelPos.y <= 0)
{
@@ -58,7 +49,7 @@ public:
- virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override
+ virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override
{
UNUSED(a_Meta);
return 0;