Fixed some issues.
Meta wasn't set if the block wasn't a pillar. Fixed typo.
This commit is contained in:
parent
0c29c52ff3
commit
347488a9a2
@ -27,6 +27,7 @@ public:
|
|||||||
NIBBLETYPE Meta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage);
|
NIBBLETYPE Meta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage);
|
||||||
if (Meta != 0x2) // Check if the block is a pillar block.
|
if (Meta != 0x2) // Check if the block is a pillar block.
|
||||||
{
|
{
|
||||||
|
a_BlockMeta = Meta;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ public:
|
|||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
ASSERT(!"Unhandled block face!");
|
ASSERT(!"Unhandled block face!");
|
||||||
return a_QuartzMeta; // No idea, give a special meta (all sides the sa)
|
return a_QuartzMeta; // No idea, give a special meta (all sides the same)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user