summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockMycelium.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockMycelium.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Blocks/BlockMycelium.h b/src/Blocks/BlockMycelium.h
index 4d4a0bb4f..2a8ef5fca 100644
--- a/src/Blocks/BlockMycelium.h
+++ b/src/Blocks/BlockMycelium.h
@@ -8,16 +8,20 @@
class cBlockMyceliumHandler :
- public cClearMetaOnDrop<cBlockHandler>
+ public cBlockHandler
{
public:
cBlockMyceliumHandler(BLOCKTYPE a_BlockType)
- : cClearMetaOnDrop<cBlockHandler>(a_BlockType)
+ : cBlockHandler(a_BlockType)
{
}
// TODO: Add Mycel Spread
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
+ {
+ a_Pickups.push_back(cItem(E_BLOCK_DIRT, 1, 0));
+ }
virtual const char * GetStepSound(void) override
{