diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-07-14 21:50:56 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-07-14 21:50:56 +0200 |
commit | 333f4f982cbd24ffcb376594eddef439b3f05e9e (patch) | |
tree | c5567d23eee76e38d41cf828d1f642ab271cbd91 /src/Blocks/BlockCobWeb.h | |
parent | Simplified ClearMetaOnDrop (diff) | |
download | cuberite-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/BlockCobWeb.h')
-rw-r--r-- | src/Blocks/BlockCobWeb.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/Blocks/BlockCobWeb.h b/src/Blocks/BlockCobWeb.h index 982bfaa30..29a6b8155 100644 --- a/src/Blocks/BlockCobWeb.h +++ b/src/Blocks/BlockCobWeb.h @@ -10,19 +10,13 @@ class cBlockCobWebHandler : - public cBlockHandler + public cClearMetaOnDrop<cBlockHandler> { public: cBlockCobWebHandler(BLOCKTYPE a_BlockType) - : cBlockHandler(a_BlockType) + : cClearMetaOnDrop<cBlockHandler>(a_BlockType) { } - - - virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_Meta) override - { - a_Pickups.push_back(cItem(E_ITEM_STRING, 1, 0)); - } } ; |