fix build failure

This commit is contained in:
Dylan K. Taylor 2020-10-29 13:22:35 +00:00
parent b079772d32
commit cfb9cc8999

View File

@ -1235,7 +1235,7 @@ class World implements ChunkManager{
if( if(
!$this->isInWorld($x1, $y1, $z1) || !$this->isInWorld($x1, $y1, $z1) ||
($chunk = $this->getChunk($x1 >> 4, $z1 >> 4)) === null || ($chunk = $this->getChunk($x1 >> 4, $z1 >> 4)) === null ||
!$chunk->isLightPopulated() $chunk->isLightPopulated() !== true
){ ){
continue; continue;
} }
@ -1260,7 +1260,7 @@ class World implements ChunkManager{
if( if(
!$this->isInWorld($x1, $y1, $z1) || !$this->isInWorld($x1, $y1, $z1) ||
($chunk = $this->getChunk($x1 >> 4, $z1 >> 4)) === null || ($chunk = $this->getChunk($x1 >> 4, $z1 >> 4)) === null ||
!$chunk->isLightPopulated() $chunk->isLightPopulated() !== true
){ ){
continue; continue;
} }