summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBrewingStand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockBrewingStand.h')
-rw-r--r--src/Blocks/BlockBrewingStand.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Blocks/BlockBrewingStand.h b/src/Blocks/BlockBrewingStand.h
index 57642bcb6..77e383b16 100644
--- a/src/Blocks/BlockBrewingStand.h
+++ b/src/Blocks/BlockBrewingStand.h
@@ -2,25 +2,21 @@
#pragma once
#include "BlockHandler.h"
+#include "ClearMetaOnDrop.h"
class cBlockBrewingStandHandler :
- public cBlockHandler
+ public cClearMetaOnDrop<cBlockHandler>
{
public:
cBlockBrewingStandHandler(BLOCKTYPE a_BlockType)
- : cBlockHandler(a_BlockType)
+ : cClearMetaOnDrop<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;