Implemented light population, added Level->getFullLight()

This commit is contained in:
Shoghi Cervantes
2014-11-28 14:44:27 +01:00
parent d139e5f342
commit b3c3f896a3
12 changed files with 105 additions and 0 deletions

View File

@ -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;