summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockRedstoneLamp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockRedstoneLamp.h')
-rw-r--r--src/Blocks/BlockRedstoneLamp.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/Blocks/BlockRedstoneLamp.h b/src/Blocks/BlockRedstoneLamp.h
index 69a2b27c2..4b0ca5b34 100644
--- a/src/Blocks/BlockRedstoneLamp.h
+++ b/src/Blocks/BlockRedstoneLamp.h
@@ -8,18 +8,13 @@
class cBlockRedstoneLampHandler :
- public cBlockHandler
+ public cClearMetaOnDrop<cBlockHandler>
{
public:
cBlockRedstoneLampHandler(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_BLOCK_REDSTONE_LAMP_OFF, 1, 0));
- }
};