mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-16 08:25:29 +00:00
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:
parent
23dc6e09d8
commit
f704061618
@ -33,10 +33,8 @@ abstract class Tree{
|
|||||||
public $overridable = [
|
public $overridable = [
|
||||||
Block::AIR => true,
|
Block::AIR => true,
|
||||||
Block::SAPLING => true,
|
Block::SAPLING => true,
|
||||||
Block::LOG => true,
|
|
||||||
Block::LEAVES => true,
|
Block::LEAVES => true,
|
||||||
Block::SNOW_LAYER => true,
|
Block::SNOW_LAYER => true,
|
||||||
Block::LOG2 => true,
|
|
||||||
Block::LEAVES2 => true
|
Block::LEAVES2 => true
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user