implement height logic for Acacia blocks
This commit is contained in:
parent
a5403c8976
commit
e4a8c681b0
@ -92,7 +92,18 @@ public:
|
|||||||
}
|
}
|
||||||
break;
|
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:
|
case E_META_SAPLING_DARK_OAK:
|
||||||
{
|
{
|
||||||
if (!IsLargeTree(a_Chunk, a_RelX, a_RelY, a_RelZ, a_Meta))
|
if (!IsLargeTree(a_Chunk, a_RelX, a_RelY, a_RelZ, a_Meta))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user