Leaves now drop with the correct meta when broken by a pickaxe with silk touch (#4034)
This commit is contained in:
parent
c5f590d460
commit
491e91dc88
@ -531,6 +531,12 @@ void cBlockHandler::DropBlock(cChunkInterface & a_ChunkInterface, cWorldInterfac
|
||||
Pickups.Add(m_BlockType, 1, 0);
|
||||
break;
|
||||
}
|
||||
case E_BLOCK_LEAVES:
|
||||
case E_BLOCK_NEW_LEAVES:
|
||||
{
|
||||
Pickups.Add(m_BlockType, 1, Meta & 0x03);
|
||||
break;
|
||||
}
|
||||
default: Pickups.Add(m_BlockType, 1, Meta); break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user