Some cleanup and added missing strict types declare for EndRod

This commit is contained in:
Dylan K. Taylor
2017-08-19 11:11:49 +01:00
parent bedfca8698
commit 64f2e7587d
6 changed files with 2 additions and 18 deletions

View File

@ -24,16 +24,11 @@ declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\block\utils\ColorBlockMetaHelper;
use pocketmine\item\Item;
class StainedGlassPane extends GlassPane{
protected $id = self::STAINED_GLASS_PANE;
public function __construct(int $meta = 0){
$this->meta = $meta;
}
public function getName() : string{
return ColorBlockMetaHelper::getColorFromMeta($this->meta) . " Stained Glass Pane";
}