mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
break
This commit is contained in:
parent
6f99648a72
commit
4ee56a48aa
1 changed files with 5 additions and 5 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 2;
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
case "C":
|
||||
if($this->level->getBlock(new Vector3($x + $offsetX, $y + $yOffset, $z + $offsetZ))->getID() === COBBLESTONE){
|
||||
continue 2;
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
case "R":
|
||||
if($this->level->getBlock(new Vector3($x + $offsetX, $y + $yOffset, $z + $offsetZ))->getID() === NETHER_REACTOR){
|
||||
continue 2;
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
case " ":
|
||||
if($this->level->getBlock(new Vector3($x + $offsetX, $y + $yOffset, $z + $offsetZ))->getID() === 0){
|
||||
continue 2;
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
default:
|
||||
continue 2;
|
||||
break;
|
||||
}
|
||||
++$offsetX;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue