1
0

Merge pull request #2954 from kevinr/implement-acacia-block-height

Implement acacia block height
This commit is contained in:
LogicParrot 2016-02-05 22:32:44 +02:00
commit e3fe15ca59
2 changed files with 13 additions and 1 deletions

View File

@ -12,6 +12,7 @@ HaoTNN
Howaner
jan64
jasperarmstrong
kevinr (Kevin Riggle)
keyboard
Lapayo
linnemannr (Reid Linnemann)

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))