1
0

Leaves now drop with the correct meta when broken by a pickaxe with silk touch (#4034)

This commit is contained in:
Bond-009 2017-09-19 10:44:21 +02:00 committed by Alexander Harkness
parent c5f590d460
commit 491e91dc88

View File

@ -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;
}
}