mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Saplings
This commit is contained in:
@ -33,7 +33,7 @@ class TreeObject{
|
||||
17 => true,
|
||||
18 => true,
|
||||
);
|
||||
public static function growTree(BlockAPI $level, Block $block){
|
||||
public static function growTree(Level $level, Block $block){
|
||||
switch($block->getMetadata() & 0x03){
|
||||
case SaplingBlock::SPRUCE:
|
||||
if(mt_rand(0,1) == 1){
|
||||
|
Reference in New Issue
Block a user