Refactored GetPlacementBlockTypeMeta
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user