Make block constructors not write to this->meta directly

This commit is contained in:
Dylan K. Taylor
2018-09-16 14:10:40 +01:00
parent ed8b8a13a3
commit f7f06c993d
132 changed files with 132 additions and 132 deletions

View File

@ -42,7 +42,7 @@ class Flower extends Flowable{
protected $id = self::RED_FLOWER;
public function __construct(int $meta = 0){
$this->meta = $meta;
$this->setDamage($meta);
}
public function getName() : string{