mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
PHP 7.4.21 fixes part 2
This commit is contained in:
parent
e93e81222a
commit
7877b4fe94
10 changed files with 23 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue