diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-07-15 00:59:24 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-07-15 00:59:24 +0200 |
commit | 8fd636aa7235698263e3b85388a4f6373cbedb76 (patch) | |
tree | 1650b98907d93b3310ee8acfe76a83bc77b08cb6 /src/Blocks/BlockBrewingStand.h | |
parent | Added documentation (diff) | |
download | cuberite-8fd636aa7235698263e3b85388a4f6373cbedb76.tar cuberite-8fd636aa7235698263e3b85388a4f6373cbedb76.tar.gz cuberite-8fd636aa7235698263e3b85388a4f6373cbedb76.tar.bz2 cuberite-8fd636aa7235698263e3b85388a4f6373cbedb76.tar.lz cuberite-8fd636aa7235698263e3b85388a4f6373cbedb76.tar.xz cuberite-8fd636aa7235698263e3b85388a4f6373cbedb76.tar.zst cuberite-8fd636aa7235698263e3b85388a4f6373cbedb76.zip |
Diffstat (limited to 'src/Blocks/BlockBrewingStand.h')
-rw-r--r-- | src/Blocks/BlockBrewingStand.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Blocks/BlockBrewingStand.h b/src/Blocks/BlockBrewingStand.h index 77e383b16..57642bcb6 100644 --- a/src/Blocks/BlockBrewingStand.h +++ b/src/Blocks/BlockBrewingStand.h @@ -2,21 +2,25 @@ #pragma once #include "BlockHandler.h" -#include "ClearMetaOnDrop.h" class cBlockBrewingStandHandler : - public cClearMetaOnDrop<cBlockHandler> + public cBlockHandler { public: cBlockBrewingStandHandler(BLOCKTYPE a_BlockType) - : cClearMetaOnDrop<cBlockHandler>(a_BlockType) + : cBlockHandler(a_BlockType) { } + virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override + { + a_Pickups.push_back(cItem(E_ITEM_BREWING_STAND, 1, 0)); + } + virtual bool IsUseable() override { return true; |