1
0

Strip meta from hopper on converting to pickup

This commit is contained in:
Julian Laubstein 2015-12-13 15:46:26 +01:00
parent fec522aa03
commit 378b2b8ca6

View File

@ -53,6 +53,12 @@ public:
return a_Meta;
}
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
{
// Reset meta to 0
a_Pickups.push_back(cItem(m_BlockType, 1, 0));
}
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override
{
UNUSED(a_Meta);