Merge branch 'stable' into next-minor

This commit is contained in:
Dylan K. Taylor
2022-11-04 20:44:28 +00:00
19 changed files with 55 additions and 13 deletions

View File

@ -84,6 +84,7 @@ class Leaves extends Transparent{
/**
* @param true[] $visited reference parameter
* @phpstan-param array<int, true> $visited
* @phpstan-param-out array<int, true> $visited
*/
protected function findLog(Vector3 $pos, array &$visited = [], int $distance = 0) : bool{
$index = World::blockHash($pos->x, $pos->y, $pos->z);