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

@ -37,7 +37,7 @@ class NetherWartPlant extends Flowable{
protected $itemId = Item::NETHER_WART;
public function __construct(int $meta = 0){
$this->meta = $meta;
$this->setDamage($meta);
}
public function getName() : string{