COnverted Lilypad back to mixin
This commit is contained in:
parent
8fd636aa72
commit
0e5fa2662a
@ -8,19 +8,13 @@
|
|||||||
|
|
||||||
|
|
||||||
class cBlockLilypadHandler :
|
class cBlockLilypadHandler :
|
||||||
public cBlockHandler
|
public cClearMetaOnDrop<cBlockHandler>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cBlockLilypadHandler(BLOCKTYPE a_BlockType)
|
cBlockLilypadHandler(BLOCKTYPE a_BlockType)
|
||||||
: cBlockHandler(a_BlockType)
|
: cClearMetaOnDrop<cBlockHandler>(a_BlockType)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
|
||||||
{
|
|
||||||
// Reset meta to zero
|
|
||||||
a_Pickups.push_back(cItem(E_BLOCK_LILY_PAD, 1, 0));
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user