1
0

Refactored GetPlacementBlockTypeMeta

This commit is contained in:
Tycho
2014-01-26 07:06:25 -08:00
parent bed2ee22e8
commit a13d009a30
7 changed files with 12 additions and 11 deletions

View File

@@ -465,8 +465,9 @@ bool cItemHandler::GetPlacementBlockTypeMeta(
}
cBlockHandler * BlockH = BlockHandler(m_ItemType);
cChunkInterface ChunkInterface(a_World->GetChunkMap());
return BlockH->GetPlacementBlockTypeMeta(
a_World, a_Player,
&ChunkInterface, a_Player,
a_BlockX, a_BlockY, a_BlockZ, a_BlockFace,
a_CursorX, a_CursorY, a_CursorZ,
a_BlockType, a_BlockMeta