Fixing critical FallenTree based error.
This commit is contained in:
parent
32e07dea3f
commit
6bd501a78b
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class FallenTree extends Object {
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
case 3: // X+
|
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)])) {
|
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";
|
echo $level->getBlockIdAt($v3->x, $v3->y, $v3->z) . " is not overridable";
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue