mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Implemented light population, added Level->getFullLight()
This commit is contained in:
@ -26,6 +26,9 @@ use pocketmine\level\Level;
|
||||
use pocketmine\Player;
|
||||
|
||||
class Torch extends Flowable{
|
||||
|
||||
public $lightLevel = 15;
|
||||
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(self::TORCH, $meta, "Torch");
|
||||
$this->hardness = 0;
|
||||
|
Reference in New Issue
Block a user