Named the different quartz block.
This commit is contained in:
parent
347488a9a2
commit
70e48960ac
@ -500,6 +500,11 @@ enum
|
||||
E_META_PLANKS_BIRCH = 2,
|
||||
E_META_PLANKS_JUNGLE = 3,
|
||||
|
||||
// E_BLOCK_QUARTZ_BLOCK metas:
|
||||
E_META_QUARTZ_NORMAL = 0,
|
||||
E_META_QUARTZ_CHISELLED = 1,
|
||||
E_META_QUARTZ_PILLAR = 2,
|
||||
|
||||
// E_BLOCK_RAIL metas
|
||||
E_META_RAIL_ZM_ZP = 0,
|
||||
E_META_RAIL_XM_XP = 1,
|
||||
|
@ -25,7 +25,7 @@ public:
|
||||
{
|
||||
a_BlockType = m_BlockType;
|
||||
NIBBLETYPE Meta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage);
|
||||
if (Meta != 0x2) // Check if the block is a pillar block.
|
||||
if (Meta != E_META_QUARTZ_PILLAR) // Check if the block is a pillar block.
|
||||
{
|
||||
a_BlockMeta = Meta;
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user