PHP 7.4.21 fixes part 2

This commit is contained in:
ArkQuark 2022-06-16 20:54:07 +03:00
parent e93e81222a
commit 7877b4fe94
10 changed files with 23 additions and 23 deletions

View file

@ -603,7 +603,7 @@ class NetherReactorStructure{
case " ":
$block = $level->getBlock(new Vector3($x - 8 + $offsetX, $y - 1 + $layerCount, $z - 8 + $offsetZ))->getID();
if($block == 0){
continue;
continue 2;
}
$level->setBlockRaw(new Vector3($x - 8 + $offsetX, $y - 1 + $layerCount, $z - 8 + $offsetZ), new AirBlock());
break;