mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Update NetherReactorStructure.php
This commit is contained in:
parent
b99daa20c8
commit
1193932ab3
1 changed files with 1 additions and 1 deletions
|
|
@ -603,7 +603,7 @@ class NetherReactorStructure{
|
||||||
case " ":
|
case " ":
|
||||||
$block = $level->getBlock(new Vector3($x - 8 + $offsetX, $y - 1 + $layerCount, $z - 8 + $offsetZ))->getID();
|
$block = $level->getBlock(new Vector3($x - 8 + $offsetX, $y - 1 + $layerCount, $z - 8 + $offsetZ))->getID();
|
||||||
if($block == 0){
|
if($block == 0){
|
||||||
continue 2;
|
break;
|
||||||
}
|
}
|
||||||
$level->setBlockRaw(new Vector3($x - 8 + $offsetX, $y - 1 + $layerCount, $z - 8 + $offsetZ), new AirBlock());
|
$level->setBlockRaw(new Vector3($x - 8 + $offsetX, $y - 1 + $layerCount, $z - 8 + $offsetZ), new AirBlock());
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue