mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +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
|
|
@ -201,26 +201,26 @@ class NetherReactorBlock extends SolidBlock{
|
|||
switch($char){
|
||||
case "G":
|
||||
if($this->level->getBlock(new Vector3($x + $offsetX, $y + $yOffset, $z + $offsetZ))->getID() === GOLD_BLOCK){
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
return false;
|
||||
case "C":
|
||||
if($this->level->getBlock(new Vector3($x + $offsetX, $y + $yOffset, $z + $offsetZ))->getID() === COBBLESTONE){
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
return false;
|
||||
case "R":
|
||||
if($this->level->getBlock(new Vector3($x + $offsetX, $y + $yOffset, $z + $offsetZ))->getID() === NETHER_REACTOR){
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
return false;
|
||||
case " ":
|
||||
if($this->level->getBlock(new Vector3($x + $offsetX, $y + $yOffset, $z + $offsetZ))->getID() === 0){
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
return false;
|
||||
default:
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
++$offsetX;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue