mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 15:05:33 +00:00
World: fixed spawning in the void when the spawn terrain is higher than y=70 on default worlds
fixes #5390
This commit is contained in:
parent
3a2a23b236
commit
2d0602d19f
@ -2784,8 +2784,8 @@ class World implements ChunkManager{
|
|||||||
if($this->getBlockAt($x, $y, $z)->isFullCube()){
|
if($this->getBlockAt($x, $y, $z)->isFullCube()){
|
||||||
if($wasAir){
|
if($wasAir){
|
||||||
$y++;
|
$y++;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}else{
|
}else{
|
||||||
$wasAir = true;
|
$wasAir = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user