1
0
Fork 0

implement height logic for Acacia blocks

This commit is contained in:
Kevin Riggle 2016-02-04 01:15:23 -05:00
parent a5403c8976
commit e4a8c681b0
1 changed files with 12 additions and 1 deletions

View File

@ -92,7 +92,18 @@ public:
}
break;
}
// Dark Oaks only grow in a 2x2 area
// Acacias don't need horizontal clearance
case E_META_SAPLING_ACACIA:
{
if (!IsLargeTree(a_Chunk, a_RelX, a_RelY, a_RelZ, a_Meta))
{
return false;
}
CheckHeight = 7;
LargeTree = true;
break;
}
// Dark Oaks don't need horizontal clearance
case E_META_SAPLING_DARK_OAK:
{
if (!IsLargeTree(a_Chunk, a_RelX, a_RelY, a_RelZ, a_Meta))