1
0

Merge pull request #2744 from cuberite/HopperMetaStrip

Strip meta from hopper on converting to pickup
This commit is contained in:
worktycho 2015-12-13 15:59:58 +00:00
commit 68105777fa

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);