summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockMycelium.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-07-14 21:50:56 +0200
committerTycho <work.tycho+git@gmail.com>2014-07-14 21:50:56 +0200
commit333f4f982cbd24ffcb376594eddef439b3f05e9e (patch)
treec5567d23eee76e38d41cf828d1f642ab271cbd91 /src/Blocks/BlockMycelium.h
parentSimplified ClearMetaOnDrop (diff)
downloadcuberite-333f4f982cbd24ffcb376594eddef439b3f05e9e.tar
cuberite-333f4f982cbd24ffcb376594eddef439b3f05e9e.tar.gz
cuberite-333f4f982cbd24ffcb376594eddef439b3f05e9e.tar.bz2
cuberite-333f4f982cbd24ffcb376594eddef439b3f05e9e.tar.lz
cuberite-333f4f982cbd24ffcb376594eddef439b3f05e9e.tar.xz
cuberite-333f4f982cbd24ffcb376594eddef439b3f05e9e.tar.zst
cuberite-333f4f982cbd24ffcb376594eddef439b3f05e9e.zip
Diffstat (limited to 'src/Blocks/BlockMycelium.h')
-rw-r--r--src/Blocks/BlockMycelium.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Blocks/BlockMycelium.h b/src/Blocks/BlockMycelium.h
index 2a8ef5fca..4d4a0bb4f 100644
--- a/src/Blocks/BlockMycelium.h
+++ b/src/Blocks/BlockMycelium.h
@@ -8,20 +8,16 @@
class cBlockMyceliumHandler :
- public cBlockHandler
+ public cClearMetaOnDrop<cBlockHandler>
{
public:
cBlockMyceliumHandler(BLOCKTYPE a_BlockType)
- : cBlockHandler(a_BlockType)
+ : cClearMetaOnDrop<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
{