mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +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($wasAir){
|
||||
$y++;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}else{
|
||||
$wasAir = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user