summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockFlowerPot.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockFlowerPot.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/Blocks/BlockFlowerPot.h b/src/Blocks/BlockFlowerPot.h
index fc75ef638..39fbe1bd9 100644
--- a/src/Blocks/BlockFlowerPot.h
+++ b/src/Blocks/BlockFlowerPot.h
@@ -9,18 +9,13 @@
class cBlockFlowerPotHandler :
- public cBlockEntityHandler
+ public cClearMetaOnDrop<cBlockEntityHandler>
{
public:
cBlockFlowerPotHandler(BLOCKTYPE a_BlockType) :
- cBlockEntityHandler(a_BlockType)
+ cClearMetaOnDrop<cBlockEntityHandler>(a_BlockType)
{
}
-
- virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
- {
- a_Pickups.push_back(cItem(E_ITEM_FLOWER_POT, 1, 0));
- }
} ;