Merge pull request #2744 from cuberite/HopperMetaStrip
Strip meta from hopper on converting to pickup
This commit is contained in:
commit
68105777fa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user