1
0

Fixed PolishedGranite et al crafting recipes.

Fixes #1774. Ref.: #1859
This commit is contained in:
Mattes D
2015-04-16 20:59:57 +02:00
parent 1d8a22cb7b
commit ffe7dae4fc
4 changed files with 7 additions and 6 deletions

View File

@@ -353,7 +353,7 @@ bool cBlockHandler::GetPlacementBlockTypeMeta(
{
// By default, all blocks can be placed and the meta is copied over from the item's damage value:
a_BlockType = m_BlockType;
a_BlockMeta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage & 0x0f);
a_BlockMeta = static_cast<NIBBLETYPE>(a_Player->GetEquippedItem().m_ItemDamage & 0x0f);
return true;
}