Fixing critical FallenTree based error.

This commit is contained in:
Adsooi 2017-05-13 17:08:01 +02:00
parent 32e07dea3f
commit 6bd501a78b

View file

@ -79,7 +79,7 @@ class FallenTree extends Object {
break;
case 2:
case 3: // X+
$return = arra_BuildingUtils::fillCallback(new Vector3($x, $y, $z), new Vector3($x + $this->length, $y, $z), function($v3, $level) {
$return = BuildingUtils::fillCallback(new Vector3($x, $y, $z), new Vector3($x + $this->length, $y, $z), function($v3, $level) {
if(!isset(\Ad5001\BetterGen\structure\FallenTree::$overridable[$level->getBlockIdAt($v3->x, $v3->y, $v3->z)])) {
echo $level->getBlockIdAt($v3->x, $v3->y, $v3->z) . " is not overridable";
return false;