mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-12 12:55:21 +00:00
parent
fcb2ccab99
commit
01b0742bd4
@ -114,6 +114,9 @@ abstract class LightUpdate{
|
|||||||
$context->removalQueue->enqueue([$x, $y, $z, $oldLevel]);
|
$context->removalQueue->enqueue([$x, $y, $z, $oldLevel]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}elseif($this->getEffectiveLight($x, $y, $z) > 0){ //outside the chunk (e.g. virtual sky light from y=256)
|
||||||
|
$context->spreadVisited[$blockHash] = true;
|
||||||
|
$context->spreadQueue->enqueue([$x, $y, $z]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $context;
|
return $context;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user