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

@ -28,7 +28,7 @@ class Pumpkin extends Solid{
protected $id = self::PUMPKIN;
public function __construct(int $meta = 0){
$this->meta = $meta;
$this->setDamage($meta);
}
public function getHardness() : float{