This commit is contained in:
Shoghi Cervantes Pueyo
2013-05-15 22:06:38 +02:00
parent 6f59e2eaad
commit 3f532d419c
7 changed files with 28 additions and 31 deletions

View File

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