1
0

Fixed some issues.

Meta wasn't set if the block wasn't a pillar.
Fixed typo.
This commit is contained in:
STRWarrior 2014-02-03 20:34:05 +01:00
parent 0c29c52ff3
commit 347488a9a2

View File

@ -27,6 +27,7 @@ public:
NIBBLETYPE Meta = (NIBBLETYPE)(a_Player->GetEquippedItem().m_ItemDamage);
if (Meta != 0x2) // Check if the block is a pillar block.
{
a_BlockMeta = Meta;
return true;
}
@ -59,7 +60,7 @@ public:
default:
{
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)
}
}
}