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

@ -24,6 +24,9 @@ namespace pocketmine\block;
use pocketmine\item\Item;
class Glowstone extends Transparent{
public $lightLevel = 15;
public function __construct(){
parent::__construct(self::GLOWSTONE_BLOCK, 0, "Glowstone");
$this->hardness = 1.5;