Browse Source

Fixing critical FallenTree based error.

pull/22/merge
Ad5001 2 years ago
parent
commit
6bd501a78b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Ad5001/BetterGen/structure/FallenTree.php

+ 1
- 1
src/Ad5001/BetterGen/structure/FallenTree.php 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;

Loading…
Cancel
Save