Chunk: removed heighArray parameter from constructor

we don't pass this anywhere, and really it should be dynamically initialized anyway, just like light.
This commit is contained in:
Dylan K. Taylor
2021-10-25 20:13:50 +01:00
parent b8519d1af4
commit 9835d75f65
5 changed files with 3 additions and 6 deletions

View File

@@ -92,7 +92,6 @@ trait LegacyAnvilChunkTrait{
new Chunk(
$subChunks,
$biomeArray,
null,
$chunk->getByte("TerrainPopulated", 0) !== 0
),
($entitiesTag = $chunk->getTag("Entities")) instanceof ListTag ? self::getCompoundList("Entities", $entitiesTag) : [],