mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Implemented sky light generation-time population and updating, obsolete and close #160
This commit is contained in:
@ -60,6 +60,10 @@ class Leaves extends Transparent{
|
||||
return $names[$this->meta & 0x03];
|
||||
}
|
||||
|
||||
public function diffusesSkyLight() : bool{
|
||||
return true;
|
||||
}
|
||||
|
||||
private function findLog(Block $pos, array $visited, $distance, &$check, $fromSide = null){
|
||||
++$check;
|
||||
$index = $pos->x . "." . $pos->y . "." . $pos->z;
|
||||
|
Reference in New Issue
Block a user