Fixed build

This commit is contained in:
Dylan K. Taylor
2025-01-06 23:01:14 +00:00
parent 0358b7dce4
commit 357dfb5c7e
4 changed files with 8 additions and 8 deletions

View File

@ -1364,7 +1364,7 @@ class World implements ChunkManager{
* TODO: phpstan can't infer these types yet :(
* @phpstan-var array<int, LightArray> $blockLight
* @phpstan-var array<int, LightArray> $skyLight
* @phpstan-var array<int, int> $heightMap
* @phpstan-var non-empty-list<int> $heightMap
*/
if($this->unloaded || ($chunk = $this->getChunk($chunkX, $chunkZ)) === null || $chunk->isLightPopulated() === true){
return;