summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCobWeb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockCobWeb.h')
-rw-r--r--src/Blocks/BlockCobWeb.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Blocks/BlockCobWeb.h b/src/Blocks/BlockCobWeb.h
index 29a6b8155..982bfaa30 100644
--- a/src/Blocks/BlockCobWeb.h
+++ b/src/Blocks/BlockCobWeb.h
@@ -10,13 +10,19 @@
class cBlockCobWebHandler :
- public cClearMetaOnDrop<cBlockHandler>
+ public cBlockHandler
{
public:
cBlockCobWebHandler(BLOCKTYPE a_BlockType)
- : cClearMetaOnDrop<cBlockHandler>(a_BlockType)
+ : cBlockHandler(a_BlockType)
{
}
+
+
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_Meta) override
+ {
+ a_Pickups.push_back(cItem(E_ITEM_STRING, 1, 0));
+ }
} ;