summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockRedstone.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockRedstone.h')
-rw-r--r--src/Blocks/BlockRedstone.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Blocks/BlockRedstone.h b/src/Blocks/BlockRedstone.h
index d01a40631..c93537d08 100644
--- a/src/Blocks/BlockRedstone.h
+++ b/src/Blocks/BlockRedstone.h
@@ -9,9 +9,9 @@
class cBlockRedstoneHandler :
- public cClearMetaOnDrop<cBlockHandler>
+ public cBlockHandler
{
- using super = cClearMetaOnDrop<cBlockHandler>;
+ using super = cBlockHandler;
public:
@@ -46,6 +46,11 @@ public:
return false;
}
+ virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, cBlockEntity * a_BlockEntity, const cEntity * a_Digger, const cItem * a_Tool) override
+ {
+ return cItem(E_ITEM_REDSTONE_DUST, 1, 0);
+ }
+
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override
{
UNUSED(a_Meta);