From 10c126b4d5645419972100338b0e6831da60b271 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Mon, 20 Mar 2023 23:07:55 +0300 Subject: [PATCH] BIOME_END constant is undefined, replaced with 9 as it looks like end biome --- src/world/generator/EndGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/generator/EndGenerator.php b/src/world/generator/EndGenerator.php index e2b5d1e7..eaa18936 100644 --- a/src/world/generator/EndGenerator.php +++ b/src/world/generator/EndGenerator.php @@ -104,7 +104,7 @@ class EndGenerator implements NewLevelGenerator{ } $this->level->setMiniChunk($chunkX, $chunkZ, $chunkY, $chunk); } - $this->level->level->setBiomeIdArrayForChunk($chunkX, $chunkZ, str_repeat(chr(BIOME_END), 256)); + $this->level->level->setBiomeIdArrayForChunk($chunkX, $chunkZ, str_repeat(chr(9), 256)); foreach($this->generationPopulators as $populator){ $populator->populate($this->level, $chunkX, $chunkZ, $this->random); }