Tree: avoid astonishing behaviour with dark-oak and acacia saplings

ref #1973, these should simply not grow at all since they are not implemented yet.
This commit is contained in:
Dylan K. Taylor 2018-05-12 10:03:20 +01:00
parent 619390c5b7
commit ed65e91a3c

View File

@ -60,7 +60,9 @@ abstract class Tree{
case Sapling::JUNGLE:
$tree = new JungleTree();
break;
case Sapling::OAK:
case Sapling::ACACIA:
case Sapling::DARK_OAK:
return; //TODO
default:
$tree = new OakTree();
/*if($random->nextRange(0, 9) === 0){