Tree: fixed being able to overwrite other trees

this was observable by planting a sapling underneath an existing tree and punching it with bone meal.

This change will also prevent trees generating too close together.
This commit is contained in:
Dylan K. Taylor 2018-12-09 19:26:48 +00:00
parent 23dc6e09d8
commit f704061618

View File

@ -33,10 +33,8 @@ abstract class Tree{
public $overridable = [
Block::AIR => true,
Block::SAPLING => true,
Block::LOG => true,
Block::LEAVES => true,
Block::SNOW_LAYER => true,
Block::LOG2 => true,
Block::LEAVES2 => true
];