Update NetherReactorStructure.php

This commit is contained in:
ArkQuark 2022-06-20 00:12:59 +03:00 • committed by GitHub
parent b99daa20c8
commit 1193932ab3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 2;
break;
}
$level->setBlockRaw(new Vector3($x - 8 + $offsetX, $y - 1 + $layerCount, $z - 8 + $offsetZ), new AirBlock());
break;