From 1a5cc8212c8aa5643df3449468f239ac81898f22 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 7 Nov 2022 14:23:17 +0000 Subject: [PATCH] World: fixed spawning in the void when the spawn terrain is higher than y=70 on default worlds fixes #5390 --- src/world/World.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/World.php b/src/world/World.php index 1f88256c3b..0839dbe048 100644 --- a/src/world/World.php +++ b/src/world/World.php @@ -2794,8 +2794,8 @@ class World implements ChunkManager{ if($this->getBlockAt($x, $y, $z)->isFullCube()){ if($wasAir){ $y++; - break; } + break; }else{ $wasAir = true; }